restore-function-signatures
CommunityRecover meaningful decompiled function types
Software Engineering#decompilation#code repair#calling convention#function signatures#type recovery#CWE-457#GCC verification
Authorxyt66665000
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Decompiler output often replaces real function signatures with generic types and placeholder names, making recovered C/C++ code hard to compile and understand.
Core Features & Use Cases
- Function signature restoration: Recover return types, parameter types, parameter names, and calling conventions from degraded decompiler output.
- UB downgrade recovery: Detect and restore parameters dropped by signature-degrading casts (CWE-457 style) to reintroduce the missing arguments.
- Memory-semantics-first validation: Prioritize preserving dereference depth and data-flow paths while improving only the signature surface to reach strict compilation.
Quick Start
Use the restore-function-signatures skill on your decompiled .c file where function signatures look like __int64 sub_401230(__int64 a1, int a2) and ask it to restore return type, parameter types, parameter names, calling convention, and any dropped parameters.
Dependency Matrix
Required Modules
None requiredComponents
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: restore-function-signatures Download link: https://github.com/xyt66665000/CodeRepairAgent/archive/main.zip#restore-function-signatures Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.