infer::app
pub fn is_exe(buf: &[u8]) -> bool
Returns whether a buffer is an EXE.
use std::fs; assert!(infer::app::is_exe(&fs::read("src/testdata/sample.exe").unwrap()));