testing library
Test helpers for inspecting tree-shaken ELF binaries and cross-compilation toolchains.
Constants
- elfMachineAarch64 → const int
-
ELF
e_machineconstant foraarch64(EM_AARCH64). - elfMachineX86_64 → const int
-
ELF
e_machineconstant forx86_64(EM_X86_64).
Functions
-
elfDefinedDynamicSymbols(
Uint8List bytes) → Set< String> -
Returns the names of all defined symbols in the
.dynsymsection of a 64-bit little-endian ELF binarybytes. -
elfMachine(
Uint8List bytes) → int -
Returns the ELF
e_machinefield of a 64-bit little-endian ELF binarybytes. -
hasAarch64LinuxToolchain(
) → bool -
Returns whether the
aarch64-linux-gnu-gcccross-compilation toolchain is available on the host.