leaking_addresses: add range check for vsyscall memory
authorTobin C. Harding <me@tobin.cc>
Thu, 7 Dec 2017 01:33:21 +0000 (12:33 +1100)
committerTobin C. Harding <me@tobin.cc>
Fri, 6 Apr 2018 22:50:34 +0000 (08:50 +1000)
commit87e37588563da905a8506b8922cfba1d71382a64
treeedbbc7102182bdfb4d0494b0d9dea81d54a5f106
parent15d60a35b8fe82363325494a2a7c49f26f9f5594
leaking_addresses: add range check for vsyscall memory

Currently script checks only first and last address in the vsyscall
memory range. We can do better than this. When checking for false
positives against $match, we can convert $match to a hexadecimal value
then check if it lies within the range of vsyscall addresses.

Check whole range of vsyscall addresses when checking for false
positive.

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