Skip to content

nccgroup/libslub

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

Cedric Halbronn minor
7732a54

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
May 11, 2023 09:34
May 27, 2023 10:02
May 11, 2023 09:34
May 11, 2023 09:34
May 23, 2023 17:05
May 11, 2023 09:34
May 11, 2023 09:34
May 11, 2023 09:34

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:

# pip3 install -r requirements.txt

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

(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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published