Skip to main content

Module x86

Module x86 

Source
Expand description

Shared x86 instruction-shape normalization for native artifact backends.

ELF, Mach-O, and PE/COFF all describe the same instruction stream once a symbol’s code bytes have been isolated. Keeping normalization here gives a byte sequence one meaning across those container formats; backend-specific implementations must not silently reuse a version label for different encodings.

Constants§

X86_NORMALIZATION_VERSION
Version of the x86 instruction-shape normalization representation.

Functions§

normalize_x86
Normalize an x86 instruction stream without retaining immediate values or register choices.
supports_normalized_duplicates
Whether this architecture has a supported normalized-instruction recipe.
trim_inferred_padding
Remove conventional trailing alignment bytes from an inferred x86 range.