libdestruct

Official

Inflate raw memory into Pythonic C-like structs.

Authorlibdebug
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Map raw memory into Pythonic C-like data structures for safe inspection and mutation.

Core Features & Use Cases

  • Define structs with Python type annotations and optional C parser support
  • Inflate, read, and write values from raw memory buffers
  • Follow pointers, arrays, enums, bitfields, and unions
  • Serialize to bytes, generate dictionaries, and produce hex dumps
  • Support memory inspection workflows including diff/reset/freeze

Quick Start

Create an inflater from a memory buffer and inflate your first struct at offset 0.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: libdestruct
Download link: https://github.com/libdebug/libdestruct/archive/main.zip#libdestruct

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.