X-Git-Url: https://ruderich.org/simon/gitweb/?p=blhc%2Fblhc.git;a=blobdiff_plain;f=README;h=9ef1fe8921fbee9439cd5419b06041cbcdf95176;hp=a2adcb8adb761092146c17ee0b2b7350a9a04269;hb=95cb6c78365765cd8001e4ef4b780dc115b54ee4;hpb=2839b145ae987b823227ba569e140f413b84b303 diff --git a/README b/README index a2adcb8..9ef1fe8 100644 --- a/README +++ b/README @@ -4,12 +4,20 @@ README blhc (build log hardening check) is a small tool which checks build logs for missing hardening flags. It's licensed under the GPL 3 or later. +Hardening flags enable additional security features in the compiler to prevent +e.g. stack overflows, format string vulnerabilities, GOT overwrites, etc. + +Because most build systems are quite complicated there are many places where +compiler flags from the environment might be ignored. The parser verifies that +all compiler commands use the correct hardening flags and thus all hardening +features are correctly used. + 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. At the moment it works only on Debian and derivatives but it should be easily -extendable for other systems as well. +extendable to other systems as well. Patches are welcome. For more information about hardening flags have a look at [1]. @@ -29,6 +37,10 @@ USAGE blhc path/to/log/file +blhc can be run directly from the source tree (`bin/blhc`) or copied anywhere +on the system. It doesn't have to be explicitly installed. To read the man +page use `perldoc bin/blhc`. + For more examples see the man page.