diff options
| author | Kees Cook <[email protected]> | 2024-02-22 22:00:51 +0000 |
|---|---|---|
| committer | Kees Cook <[email protected]> | 2024-02-29 21:38:03 +0000 |
| commit | 67bbd2f00735d7f5ad6c3d08eff6c5403c3a9c33 (patch) | |
| tree | 99ce4b90bc3ad52d2220bb7ca4af4d8ba871be99 /lib/string_helpers.c | |
| parent | leaking_addresses: Ignore input device status lines (diff) | |
| download | kernel-67bbd2f00735d7f5ad6c3d08eff6c5403c3a9c33.tar.gz kernel-67bbd2f00735d7f5ad6c3d08eff6c5403c3a9c33.zip | |
leaking_addresses: Provide mechanism to scan binary files
Introduce --kallsyms argument for scanning binary files for known symbol
addresses. This would have found the exposure in /sys/kernel/notes:
$ scripts/leaking_addresses.pl --kallsyms=<(sudo cat /proc/kallsyms)
/sys/kernel/notes: hypercall_page @ 156
/sys/kernel/notes: xen_hypercall_set_trap_table @ 156
/sys/kernel/notes: startup_xen @ 132
Acked-by: Greg Kroah-Hartman <[email protected]>
Reviewed-by: Tycho Andersen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
