Skip to content

track-heap¤

(only in GDB)

usage: track-heap [-h] {enable,disable,toggle-break} ...

Manages the heap tracker.

The heap tracker is a module that tracks usage of the GLibc heap and looks for user errors such as double frees and use after frees.

Currently, the following errors can be detected: - Use After Free

Optional arguments¤

Short Long Help
-h --help show this help message and exit

track-heap enable¤

usage: track-heap enable [-h] [-b USE_HARDWARE_BREAKPOINTS]

Enable heap tracking.

Optional arguments¤

Short Long Help
-h --help show this help message and exit
-b --hardware-breakpoints Force the tracker to use hardware breakpoints.

track-heap disable¤

usage: track-heap disable [-h]

Disable heap tracking.

Optional arguments¤

Short Long Help
-h --help show this help message and exit

track-heap toggle-break¤

usage: track-heap toggle-break [-h]

Toggles whether possible UAF conditions will pause execution.

Optional arguments¤

Short Long Help
-h --help show this help message and exit