Skip to main content

probe

Function probe 

Source
pub fn probe(data: &[u8]) -> bool
Expand description

Return whether the leading bytes identify a thin or universal Mach-O.

Recognizes truncated inputs so callers can route them to strict Mach-O parsing and preserve fail-closed diagnostics.