]> ruderich.org/simon Gitweb - blhc/blhc.git/blobdiff - bin/blhc
gcc is the only supported compiler at the moment.
[blhc/blhc.git] / bin / blhc
index b5dfa6822e55fec0858cd7ed4006dbbf6549143e..c84c9d29a3f2420ad081ebe3d34242491836d5fa 100755 (executable)
--- a/bin/blhc
+++ b/bin/blhc
@@ -601,6 +601,8 @@ FILE:
 foreach my $file (@ARGV) {
     print "checking '$file'...\n" if scalar @ARGV > 1;
 
+    -f $file or die "No such file: $file";
+
     open my $fh, '<', $file or die $!;
 
     # Architecture of this file.
@@ -1109,6 +1111,9 @@ It's designed to check build logs generated by Debian's dpkg-buildpackage (or
 tools using dpkg-buildpackage like pbuilder or the official buildd build logs)
 to help maintainers detect missing hardening flags in their packages.
 
+Only gcc is detected as compiler at the moment. If other compilers support
+hardening flags as well, please report them.
+
 If there's no output, no flags are missing and the build log is fine.
 
 =head1 OPTIONS