Skip to main content

is_data_executable

Function is_data_executable 

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

Simple heuristic used by the packer to detect executable payloads. It is intentionally forgiving; the goal is merely to catch obvious binaries when a user accidentally tries to pack them.