HeapInspect : Inspect Heap In Python

HeapInspect is designed to make heap much more prettier. So let us have some of the feature of this tool which will inspect heap in python;

  • Free of gdb and other requirement
  • Multi glibc support
    • 2.19, 2.23-2.27 (currently tested)
    • both 32bit and 64bit
  • Nice UI to show heap
    • HeapShower (detailed)
    • PrettyPrinter (colorful, summary)
  • Heapdiff (working)
  • Corruption detect & exploit analysis (working)
  • Also support gdb (python2 only)

Also Read – Karonte : Static Analysis Tool To Detect Multi-Binary Vulnerabilities In Embedded Firmware

Usage

A quick use of this tool.

You can also use it as a gdb plugin, very useful when pwndbg or other plugins failed to analysis heap.

sed -i “1i source `pwd`/gdbscript.py” ~/.gdbinit # alternatively, you can add that line manually

Note

It does not support gdb python3 for now. Anyone who can make it python3 compatible are welcome.

R K

Recent Posts

Understanding the Model Context Protocol (MCP) and How It Works

Introduction to the Model Context Protocol (MCP) The Model Context Protocol (MCP) is an open…

5 days ago

The file Command – Quickly Identify File Contents in Linux

While file extensions in Linux are optional and often misleading, the file command helps decode what a…

5 days ago

How to Use the touch Command in Linux

The touch command is one of the quickest ways to create new empty files or update timestamps…

5 days ago

How to Search Files and Folders in Linux Using the find Command

Handling large numbers of files is routine for Linux users, and that’s where the find command shines.…

5 days ago

How to Move and Rename Files in Linux with the mv Command

Managing files and directories is foundational for Linux workflows, and the mv (“move”) command makes it easy…

5 days ago

How to Create Directories in Linux with the mkdir Command

Creating directories is one of the earliest skills you'll use on a Linux system. The mkdir (make…

5 days ago