Skip to main content

Module native

Module native 

Source
Expand description

Shared native-object collection helpers.

Structs§

NativeSymbolRange
Transient native-symbol data used only by format-specific join code.

Functions§

collect_sections
Copy the section, read-only data, and relocation facts common to native object formats into format-neutral IR.
collect_text_symbols
Collect text symbols using the shared native identity and boundary rules.
collect_undefined_imports
Collect undefined native-object symbols as imports.
data_fingerprint
Build the common native data-segment identity from its section and bytes.
infer_text_regions
Add one explicitly inferred region for every non-empty text section.
symbol_fingerprint
Build the common native-symbol identity from unambiguous fields.
symbol_size
Determine a native symbol’s byte extent without attributing bytes to a zero-size alias.
trim_inferred_symbol_padding
Remove only conventional trailing padding from an inferred native symbol.