<!-- Copyright (c) 2026 defconxt. All rights reserved. -->
<!-- Licensed under AGPL-3.0 — see LICENSE file for details. -->
<!-- NERF is a trademark of defconxt. -->
# performing-static-binary-analysis — API Reference

## Agent Script

| Command | Description |
|---------|-------------|
| `analyze --target <path>` | Perform static analysis on target binary. |
| `extract --target <path>` | Extract and classify strings from binary. |
| `report --target <path>` | Generate structured analysis report. |

## Usage Examples

```bash
# Perform static analysis on target binary.
node scripts/agent.js analyze --target ./sample

# Extract and classify strings from binary.
node scripts/agent.js extract --target ./sample

# Generate structured analysis report.
node scripts/agent.js report --target ./sample
```

## Output Format

All commands return JSON with the following structure:

```json
{
  "action": "<command>",
  "result": {
    "action": "<command>",
    "status": "complete",
    "domain": "<domain>",
    "technique": "performing-static-binary-analysis"
  }
}
```
