-
Notifications
You must be signed in to change notification settings - Fork 18
Release History
Aaron Esau edited this page Dec 2, 2021
·
20 revisions
This file only includes changes that are noticeable to the end-user (i.e. no refactoring, code improvements, etc).
- misc bug fixes
- add support for
--width
- add more operators for
--break
such asAND
,OR
- add a man page (
heaptrace(1)
)
- major improvements to logging format
- add partial suport for
$NO_COLOR
- add new
--break
syntax - add support for memory leak detection again
- fix /proc/pid/maps parsing code on Ubuntu
- improve menu format
- add support for
-p
/--attach
/--pid
to attach to an already-running process. - fix
fork()
/vfork()
/clone()
behavior - improve colors/logging
- add help menu
- major stability improvement: now tracking heap func calls from libc, e.g. if
malloc()
were called bystrdup()
- add support for function signature detection in libc binaries
- add
--gdb-path
/-G
option to specify the path to gdb - minimized number of memory leaks
- fix reallocarray symbol being mapped to realloc (thank you @mysterywave)
- fix global oid not updating & sometimes causing a breakpoint to be triggered when oid=0 (thank you @mysterywave)
- add support for
--follow-fork
/--follow
/-F
to make heaptrace follow children onfork()
/vfork()
/clone()
- detect calls to
exec()
and warn user that a new process is replacing the traced one
- show heap function caller if
--verbose
is enabled - add support for
--break segfault
and--break main
- warn when
reallocarray
overflows - warn when the target segfaults or
abort()
s - minor stability improvements and perf improvements
- add a function identification feature that looks for heap function signatures in stripped binaries
- fix SIGSEGV when reallocarray was passed a pointer to an untracked chunk
- major stability and performance updates
- add support for
calloc
,realloc
, andreallocarray
Rewritten to use ptrace
Original release written in a single C file. It was LD_PRELOAD
-based.