Skip to content

Heap tracking

disable = subparsers.add_parser('disable', help='Disable heap tracking') module-attribute

enable = subparsers.add_parser('enable', help='Enable heap tracking') module-attribute

parser = argparse.ArgumentParser(formatter_class=argparse.RawTextHelpFormatter, description='Manages the heap tracker.\n\nThe heap tracker is a module that tracks usage of the GLibc heap and looks for\nuser errors such as double frees and use after frees.\n\nCurrently, the following errors can be detected:\n - Use After Free\n') module-attribute

subparsers = parser.add_subparsers(required=True, description='Used to enable, disable and query information about the tracker') module-attribute

toggle_break = subparsers.add_parser('toggle-break', help='Toggles whether possible UAF conditions will pause execution') module-attribute

track_heap(mode=None, use_hardware_breakpoints=False)