Examples
This repo includes runnable examples under examples/.
examples/elf_image
Workflow:
1. Infer config from ELF (infer_config_from_file)
2. Create manual analysis (auto=False)
3. Run dry-run and wait for RunStatus.FINISHED
4. Start fuzzing run
5. Wait for RunStatus.RUNNING
6. Stop run
Run:
examples/raw_image_multi_rom
Workflow:
1. Upload multiple raw binaries
2. Build ImageFormat(Raw=RawImage(...segments...))
3. Create explicit memory map with ROM/RAM/MMIO regions
4. Run dry-run
5. Start and stop fuzzing run
Run:
examples/testcases
Workflow:
1. Query testcases for a run (get_testcases)
2. Print testcase metadata
3. Fetch one testcase input (get_testcase_input)
4. Pretty-print parsed channelized input bytes
Run:
Before Running Examples
Update constants before running:
- HAVOC_ENDPOINT
- RUN_ID (where required)
Examples assume http://localhost:8080 unless edited.