[PATCH] Also detect COFF object files as Windows binaries.
---
checks/cruft | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/checks/cruft b/checks/cruft
index 25ee03b..520e155 100644
--- a/checks/cruft
+++ b/checks/cruft
@@ -149,6 +149,8 @@ for my $file (keys(%$file_info)) {
tag 'source-contains-prebuilt-binary', $file;
} elsif ($file_info->{$file} =~ m/\bPE(32|64)\b/) {
tag 'source-contains-prebuilt-windows-binary', $file;
+ } elsif ($file_info->{$file} =~ m/\bCOFF executable\b/) {
+ tag 'source-contains-prebuilt-windows-binary', $file;
}
}
--
1.7.7.3
Reply to: