]> git.baikalelectronics.ru Git - kernel.git/commit
leaking_addresses: do not parse binary files
authorTobin C. Harding <me@tobin.cc>
Sun, 18 Feb 2018 23:22:15 +0000 (10:22 +1100)
committerTobin C. Harding <me@tobin.cc>
Fri, 6 Apr 2018 22:50:34 +0000 (08:50 +1000)
commit0b085f98e9b11031ee0a6b6fa87331f13fb14ba4
treea6c21d1398063df21b7ee095697acde0a5c3557d
parente89b39b248cc11e5bd1c4064e124d81285ad43d6
leaking_addresses: do not parse binary files

Currently script parses binary files.  Since we are scanning for
readable kernel addresses there is no need to parse binary files.  We
can use Perl to check if file is binary and skip parsing it if so.

Do not parse binary files.

Signed-off-by: Tobin C. Harding <me@tobin.cc>
scripts/leaking_addresses.pl