summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorTobin C. Harding <me@tobin.cc>2018-01-29 15:00:16 +1100
committerTobin C. Harding <me@tobin.cc>2018-04-07 08:50:34 +1000
commit1410fe4eea22959bd31c05e4c1846f1718300bde (patch)
tree28b82ea47ec50a4eb718119206301e95128c419b /Documentation
parent5eb0da0568a241f72732eb2143538fb14879a52c (diff)
leaking_addresses: add 32-bit support
Currently script only supports x86_64 and ppc64. It would be nice to be able to scan 32-bit machines also. We can add support for 32-bit architectures by modifying how we check for false positives, taking advantage of the page offset used by the kernel, and using the correct regular expression. Support for 32-bit machines is enabled by the observation that the kernel addresses on 32-bit machines are larger [in value] than the page offset. We can use this to filter false positives when scanning the kernel for leaking addresses. Programmatic determination of the running architecture is not immediately obvious (current 32-bit machines return various strings from `uname -m`). We therefore provide a flag to enable scanning of 32-bit kernels. Also we can check the kernel config file for the offset and if not found default to 0xc0000000. A command line option to parse in the page offset is also provided. We do automatically detect architecture if running on ix86. Add support for 32-bit kernels. Add a command line option for page offset. Suggested-by: Kaiwan N Billimoria <kaiwan.billimoria@gmail.com> Signed-off-by: Tobin C. Harding <me@tobin.cc>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions