Remove skipping symbols with the __imp_ prefix

This commit is contained in:
Chris Denton 2024-08-03 22:08:39 +00:00
parent f28d157091
commit b94a9c1b12
No known key found for this signature in database
GPG Key ID: 713472F2F45627DE

View File

@ -144,7 +144,7 @@ fn symbols_check(path: &str, symbol_check_type: SymbolCheckType, exists_once: bo
let mut found: u64 = 0; let mut found: u64 = 0;
for export in file.exports().unwrap() { for export in file.exports().unwrap() {
let name = std::str::from_utf8(export.name()).unwrap(); let name = std::str::from_utf8(export.name()).unwrap();
if !name.contains("__imp_") && has_symbol(name, symbol_check_type) { if has_symbol(name, symbol_check_type) {
found += 1; found += 1;
} }
} }