Neptune

neptune decompile

AI-powered decompilation of binary functions to C/C++ source

neptune decompile

Uses Claude to decompile binary functions back to readable C/C++ source code.

This is a dev-only feature. Set NEPTUNE_DEV=1 to enable it.

Usage

neptune decompile <BINARY> [OPTIONS]

Arguments

ArgumentDescription
<BINARY>Path to the firmware binary file

Options

FlagDefaultDescription
--function <ADDR>Decompile a specific function at hex address
--allDecompile all detected functions
--api-key <KEY>Anthropic API key
--max-functions <N>50Maximum functions to decompile in --all mode
--devirtualizeUse symbolic lifting to devirtualize obfuscated functions before decompilation (x86/x64 PE only)
You must specify either --function or --all.

Examples

# Single function
NEPTUNE_DEV=1 neptune decompile firmware.bin --function 0x1234

# All functions (up to 50)
NEPTUNE_DEV=1 neptune decompile firmware.bin --all

# All functions with higher limit
NEPTUNE_DEV=1 neptune decompile firmware.bin --all --max-functions 200

# Devirtualize an obfuscated function
NEPTUNE_DEV=1 neptune decompile protected.exe --function 0x1234 --devirtualize

On this page