Skip to main content

normalize_x86

Function normalize_x86 

Source
pub fn normalize_x86(
    code: &[u8],
    architecture: Architecture,
) -> Option<NormalizedInstructions>
Expand description

Normalize an x86 instruction stream without retaining immediate values or register choices.

None means either that the architecture is not x86 or the byte stream does not decode into complete instructions. It is a fact about the bytes, not a fallback to a lossy best-effort representation.