[Crash-utility] [PATCH v2 0/3] Add valgrind support for the crash's custom memory

HATAYAMA Daisuke d.hatayama at fujitsu.com
Thu Mar 4 11:20:27 UTC 2021


This patch set adds valgrind support for the crash's custom memory
allocator. The motivation comes from investigation at
https://github.com/crash-utility/crash-extensions/issues/1.

The 1st patch implements the valgrind support, while 2nd and 3rd fixes
the actual issues on the crash's custom memory allocator detected by
valgrind.

v2:
- Unlink tools.o when make valgrind
- Add description about make valgrind in README

HATAYAMA Daisuke (3):
  Add valgrind support for the crash's custom memory allocator
  symbols: Fix potential read to already freed object
  tools: Fix potential write to object of 0 size

 Makefile    |  4 ++++
 README      |  5 +++++
 configure.c | 21 +++++++++++++++++-
 help.c      |  5 +++++
 symbols.c   | 10 +++------
 tools.c     | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 6 files changed, 107 insertions(+), 10 deletions(-)

-- 
1.8.3.1




More information about the Crash-utility mailing list