linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Add GDB helper commands
@ 2024-07-16  3:19 Kuan-Ying Lee
  0 siblings, 0 replies; only message in thread
From: Kuan-Ying Lee @ 2024-07-16  3:19 UTC (permalink / raw)
  To: kuan-ying.lee, Andrew Morton; +Cc: linux-mm

I've created some useful GDB commands when I debug some
memory issues.

Patch 1:
 - 'lx-stack_depot_lookup' provides users with backtrace of a handle.
Patch 2:
 - 'lx-kasan_mem_to_shadow' translate the memory address
   to kasan shadow memory address.

Kuan-Ying Lee (2):
  scripts/gdb: Add 'lx-stack_depot_lookup' command.
  scripts/gdb: Add 'lx-kasan_mem_to_shadow' command

 scripts/gdb/linux/kasan.py      | 44 +++++++++++++++++++++++++++++++++
 scripts/gdb/linux/stackdepot.py | 27 ++++++++++++++++++++
 scripts/gdb/vmlinux-gdb.py      |  1 +
 3 files changed, 72 insertions(+)
 create mode 100644 scripts/gdb/linux/kasan.py

-- 
2.34.1



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-07-16  3:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-16  3:19 [PATCH 0/2] Add GDB helper commands Kuan-Ying Lee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox