Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
libslub — Python library for examining Linux kernel SLUB heap allocations and structures within GDB, enabling deeper understanding of kernel heap internals for exploit development. | Kitploit
Tools/GitHubGitHub/nccgroup/libslub
ExploitationReverse EngineeringDebuggersBinary Exploitation
GitHubnccgroup/libslub

libslub

Python library for examining Linux kernel SLUB heap allocations and structures within GDB, enabling deeper understanding of kernel heap internals for exploit development.

View Repository
1881721 year agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

libslub

libslub is a python library to examine the SLUB managements structures and object allocations (the Linux kernel heap implementation). It is currently designed for use with GDB but could easily be adapted to work with other debuggers.

It helps understanding SLUB internals and developing Linux kernel exploits.

Installation

You need any gdb with Python >= 3.7.

Install the Python packages requirements:

root@kitploit:~
# pip3 install -r requirements.txt

Then using the following command should be enough to get you started.

root@kitploit:~
(gdb) source libslub.py

It is possible to modify libslub and reload it in your debugger as described in the Development Guide.

Usage

Please refer to the User Guide.

Supported versions

Please refer to the Supported Versions.

Development

Please refer to the Development Guide.

Download Tool