pub fn check_macos( file: &File<'_>, macos_version: &Version, ) -> Result<BTreeSet<MacOSViolation>>
Check that kernel binary is compatible with the given macOS version.