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

## Agent Script

| Command | Description |
|---------|-------------|
| `analyze --target <path>` | Analyze iOS Mach-O binary structure. |
| `dump_classes --target <path>` | Dump Objective-C class hierarchies. |
| `hook --target <path>` | Generate Frida hooks for iOS application methods. |

## Usage Examples

```bash
# Analyze iOS Mach-O binary structure.
node scripts/agent.js analyze --target ./sample

# Dump Objective-C class hierarchies.
node scripts/agent.js dump_classes --target ./sample

# Generate Frida hooks for iOS application methods.
node scripts/agent.js hook --target ./sample
```

## Output Format

All commands return JSON with the following structure:

```json
{
  "action": "<command>",
  "result": {
    "action": "<command>",
    "status": "complete",
    "domain": "<domain>",
    "technique": "analyzing-ios-applications"
  }
}
```
