diff options
| author | Kuan-Ying Lee <[email protected]> | 2024-07-23 06:49:01 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-09-02 03:43:29 +0000 |
| commit | 0833952c0768daea7d9b6dc59a35bef309234b88 (patch) | |
| tree | 4d9b3442993e26ae91d20273a6531cf7dab177b9 /scripts/gdb/vmlinux-gdb.py | |
| parent | scripts/gdb: add 'lx-stack_depot_lookup' command. (diff) | |
| download | kernel-0833952c0768daea7d9b6dc59a35bef309234b88.tar.gz kernel-0833952c0768daea7d9b6dc59a35bef309234b88.zip | |
scripts/gdb: add 'lx-kasan_mem_to_shadow' command
This command allows users to quickly translate memory address to the kasan
shadow memory address.
Example output:
(gdb) lx-kasan_mem_to_shadow 0xffff000019acc008
shadow addr: 0xffff600003359801
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Kuan-Ying Lee <[email protected]>
Cc: Jan Kiszka <[email protected]>
Cc: Kieran Bingham <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
| -rw-r--r-- | scripts/gdb/vmlinux-gdb.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/gdb/vmlinux-gdb.py b/scripts/gdb/vmlinux-gdb.py index fc53cdf286f1..d4eeed4506fd 100644 --- a/scripts/gdb/vmlinux-gdb.py +++ b/scripts/gdb/vmlinux-gdb.py @@ -49,3 +49,4 @@ else: import linux.page_owner import linux.slab import linux.vmalloc + import linux.kasan |
