decompiler

Decompile a function in a binary to C-like pseudocode.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "decompiler" with this command: npx skills add vulhunt-re/skills/vulhunt-re-skills-decompiler

Decompiler

Decompile a function in a binary to C-like pseudocode.

When to use

  • View the decompiled source code of a function

  • Analyze function logic and control flow

  • Understand what a function does before deeper analysis

Instructions

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> :

  • A string, e.g. "system"

  • An AddressValue

  • VulHunt APIs return addresses as an AddressValue

  • To build an AddressValue, use for example: AddressValue.new(0x1234)

  • A regex, e.g. {matching = "<regex>", kind = "symbol", all = true}

  • A byte pattern, e.g. {matching = "41544155", kind = "bytes", all = true}

all is a boolean. If set to true , it returns a table containing all matching functions. If false (default), it returns only the first matching value. The for loop is not necessary if the function target is only one (i.e. all is not set to true)

Returns the decompiled C-like pseudocode as a string.

Related Skills

  • functions (/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 (/code-pattern-matching ) - Search for specific code patterns in the decompiled output

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

btp-ba2-cli

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

code-pattern-matching

No summary provided by upstream source.

Repository SourceNeeds Review
General

functions

No summary provided by upstream source.

Repository SourceNeeds Review
General

call-sites

No summary provided by upstream source.

Repository SourceNeeds Review