X-Git-Url: https://ruderich.org/simon/gitweb/?p=blhc%2Fblhc.git;a=blobdiff_plain;f=bin%2Fblhc;h=dfd42cdbb4b9b457baae84807291146ed8c917a3;hp=193297e4b7fdba4ffb6095074b4c3cea0774e055;hb=95af90589fc9239baedfb30560fb69eff2c669d7;hpb=c00a6af3163584d9bbe5f0742f9ed001c202e564 diff --git a/bin/blhc b/bin/blhc index 193297e..dfd42cd 100755 --- a/bin/blhc +++ b/bin/blhc @@ -1074,6 +1074,8 @@ foreach my $file (@ARGV) { next if $line =~ m{^\s*rm\s+}; # Some build systems emit "gcc > file". next if $line =~ m{$cc_regex_normal\s*>\s*\S+}o; + # Hex output may contain "cc". + next if $line =~ m#(?:\b[0-9a-fA-F]{2,}\b\s*){5}#; # Check if additional hardening options were used. Used to ensure # they are used for the complete build.