Neptune

neptune analyze-binary

Deep binary analysis — decompile, deobfuscate, synthesize, and export

neptune analyze-binary

Performs deep analysis on a binary: decompilation of all detected functions, optional deobfuscation, cross-function synthesis, and structured export of results.

Usage

neptune analyze-binary <BINARY> [OPTIONS]

Arguments

ArgumentDescription
<BINARY>Path to the binary

Options

FlagDefaultDescription
-o, --output <DIR>.Output directory for results
--api-key <KEY>Anthropic API key
--max-functions <N>100Maximum functions to analyze
--decompiler <MODE>autoDecompiler backend: ai, ghidra, auto
--no-deobfuscateSkip deobfuscation pass
--no-synthesisSkip cross-function synthesis pass

Examples

# Full deep analysis
neptune analyze-binary firmware.bin --output ./analysis

# AI decompiler only, skip deobfuscation
neptune analyze-binary firmware.bin --decompiler ai --no-deobfuscate

# Limit function count
neptune analyze-binary firmware.bin --max-functions 50 --output ./analysis

Output

FileDescription
analysis.jsonStructured JSON with all decompiled functions, metadata, and notes
decompiled.cCombined C source output for all analyzed functions

On this page