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

Function makeMachOObject

Programs/wavm/Testing/TestObjectLinker.cpp:687–793  ·  view source on GitHub ↗

Build a minimal Mach-O object with one __TEXT,__text section. Symbols: [0..N-1] = imports (names have leading _), [N] = "_func". Import map keys should NOT have leading underscore (linker strips it).

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

testMachOX64Unsigned64Function · 0.85
testMachOX64Unsigned32Function · 0.85
testMachOX64SignedNearFunction · 0.85
testMachOX64SignedFarFunction · 0.85
testMachOX64BranchFunction · 0.85
testMachOX64GotLoadFunction · 0.85
testMachOX64GotFunction · 0.85
testMachOX64GotDataPcRelFunction · 0.85
testMachOARM64Unsigned64Function · 0.85

Calls 7

U32Function · 0.85
U8Function · 0.85
serializeBytesFunction · 0.85
push_backMethod · 0.80
writeFunction · 0.70
sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected