X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;ds=sidebyside;f=bin%2Fblhc;h=dfd42cdbb4b9b457baae84807291146ed8c917a3;hb=95af90589fc9239baedfb30560fb69eff2c669d7;hp=c2a9d98f9b802494c49b9760f27f3afb6c476b29;hpb=d791242047730d55a858f668702ea27fe3c77f77;p=blhc%2Fblhc.git diff --git a/bin/blhc b/bin/blhc index c2a9d98..dfd42cd 100755 --- a/bin/blhc +++ b/bin/blhc @@ -1073,7 +1073,9 @@ foreach my $file (@ARGV) { # treated as a normal compiler line. next if $line =~ m{^\s*rm\s+}; # Some build systems emit "gcc > file". - next if $line =~ m{$cc_regex_normal\s*>\s*\S+}; + 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.