[PATCH 0/2] Add GDB helper commands

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux