code-lifting

Lift IDA Pro decompiled C/C++ functions into functionally equivalent source code.

17|3|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/marcosd4h/DeepExtractRuntime --skill code-lifting
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-lifting
Source: https://github.com/marcosd4h/DeepExtractRuntime/tree/main/skills/code-lifting
Command: npx skills add https://github.com/marcosd4h/DeepExtractRuntime --skill code-lifting

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill defines a repeatable workflow for turning IDA Pro decompiled C/C++ functions into clean, readable source code that is 100% functionally equivalent to the original binary.

Core Features & Use Cases

  • 11-step lifting workflow coordinates data gathering, validation against assembly, renaming, struct reconstruction, and documentation.
  • Uses data from the decompiled-code-extractor and reconstruct-types skills to produce faithful lifts.
  • Inline documentation and a verification step ensure readability and correctness across function scopes.

Quick Start

Follow the 11-step lifting workflow described here to lift a target function from decompiled sources into clean, readable, functionally equivalent C++.

Frequently Asked Questions about code-lifting

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I turn IDA Pro decompiled C++ code into readable source code?

Lift IDA Pro decompiled C/C++ functions into clean, readable source code by following an 11-step workflow that coordinates data gathering, struct reconstruction, and documentation to ensure 100% functional equivalence to the original binary.

How does lifting decompiled code using assembly as ground truth work?

Lifting decompiled code uses both decompiled output and assembly as ground truth to enforce exact mapping, correct memory layouts, and proper commenting, ensuring the reconstructed C++ is functionally equivalent to the original binary.

What is the best way to reconstruct structs from decompiled C++ functions?

Reconstruct structs from decompiled C++ functions by following a structured lifting workflow that validates data against assembly, applies type reconstruction, and verifies memory layouts across single functions and class-method groups.

Do I need specific decompiled-code-extractor or reconstruct-types skills to lift C++?

Yes, lifting decompiled C++ requires the decompiled-code-extractor and reconstruct-types skills to gather data and reconstruct types, plus an independent verifier to confirm exact functional equivalence against assembly.

Can I lift IDA Pro class-method groups into clean C++ source code?

Yes, the lifting workflow applies to both single-function lifts and class-method groups, coordinating data gathering, validation, renaming, and struct reconstruction across multiple related artifacts to produce readable C++.

Why should I verify lifted decompiled code against the original assembly?

Verifying lifted decompiled code against the original assembly enforces exact mapping and correct memory layouts, using an independent verifier to guarantee 100% functional equivalence and catch reconstruction errors.