X-Git-Url: https://ruderich.org/simon/gitweb/?p=blhc%2Fblhc.git;a=blobdiff_plain;f=bin%2Fblhc;h=beb69519b35cd9bc002b3a252af85a884be1c02d;hp=193297e4b7fdba4ffb6095074b4c3cea0774e055;hb=9624b24da109be63ef0b1d433a0119acb83d0fcd;hpb=c00a6af3163584d9bbe5f0742f9ed001c202e564 diff --git a/bin/blhc b/bin/blhc index 193297e..beb6951 100755 --- a/bin/blhc +++ b/bin/blhc @@ -24,7 +24,7 @@ use warnings; use Getopt::Long (); use Text::ParseWords (); -our $VERSION = '0.08'; +our $VERSION = '0.09'; # CONSTANTS/VARIABLES @@ -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.