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