Skip to content
Commit 2f042c93 authored by Tobin C. Harding's avatar Tobin C. Harding
Browse files

leaking_addresses: add support for 5 page table levels



Currently script only supports 4 page table levels because of the way
the kernel address regular expression is crafted. We can do better than
this. Using previously added support for kernel configuration options we
can get the number of page table levels defined by
CONFIG_PGTABLE_LEVELS. Using this value a correct regular expression can
be crafted. This only supports 5 page tables on x86_64.

Add support for 5 page table levels on x86_64.

Signed-off-by: default avatarTobin C. Harding <me@tobin.cc>
parent f9d2a42d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment