From vulhunt
Decompiles binary functions to C-like pseudocode using VulHunt tools. Analyze function logic, control flow, or prepare for code pattern matching.
How this skill is triggered — by the user, by Claude, or both
Slash command
/vulhunt:decompilerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Decompile a function in a binary to C-like pseudocode.
Decompile a function in a binary to C-like pseudocode.
Using the VulHunt MCP tools, open the project (open_project) and run the following Lua query (query_project), adapting it as needed:
local d = project:decompile(<target_function>)
return tostring(d)
Possible values for <target_function>:
"system"AddressValue.new(0x1234){matching = "<regex>", kind = "symbol", all = true}{matching = "41544155", kind = "bytes", all = true}
allis a boolean. If set totrue, it returns a table containing all matching functions. Iffalse(default), it returns only the first matching value. The for loop is not necessary if the function target is only one (i.e.allis not set to true)
Returns the decompiled C-like pseudocode as a string.
/functions) — Use this skill to locate specific functions by name, address, pattern, or behavioral criteria (e.g., functions that call a particular API) before decompiling them./code-pattern-matching) - Search for specific code patterns in the decompiled outputnpx claudepluginhub vulhunt-re/skills --plugin vulhuntDecompiles and analyzes IDA Pro functions with Hex-Rays for pseudocode, ctree AST, local variables, labels, and decompiler-driven cleanup in reverse engineering.
Searches decompiled pseudocode for patterns using Weggli semantic matching. Finds vulnerable constructs like unchecked memcpy, buffer operations, or function call patterns.
Decompiles x64dbg-debugged binary functions to C-like pseudocode using angr. Specify address/symbol or uses current RIP/EIP.