MCPcopy Create free account
hub / github.com/WAVM/WAVM / getOffsetAndBoundedAddress

Function getOffsetAndBoundedAddress

Lib/LLVMJIT/EmitMem.cpp:69–183  ·  view source on GitHub ↗

Bounds checks a sandboxed memory address + offset, and returns an offset relative to the memory base address that is guaranteed to be within the virtual address space allocated for the linear memory object.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 9

memory_copyMethod · 0.85
memory_fillMethod · 0.85
emitLoadLaneFunction · 0.85
emitStoreLaneFunction · 0.85
emitLoadInterleavedFunction · 0.85
emitStoreInterleavedFunction · 0.85
memory_atomic_notifyMethod · 0.85
memory_atomic_wait32Method · 0.85
memory_atomic_wait64Method · 0.85

Calls 6

emitLiteralIptrFunction · 0.85
getMemoryNumBytesFunction · 0.85
FunctionTypeClass · 0.85
callLLVMIntrinsicMethod · 0.80
getTypeMethod · 0.45

Tested by

no test coverage detected