i64-parser
i64-parser is a Python toolchain that reads IDA Pro .i64/.idb databases without launching IDA.
It wraps the python-idb library with a clean CLI that exports the artifacts reverse engineers reach for most: functions, strings, data blobs, symbol names, segments, fixups, type library entries, and structure layouts.
Features
- Function decoding – Capstone-backed disassembly with address, opcodes, comments, and xrefs.
- String & data scans – ASCII/UTF‑16 string harvesting plus data segment slices with reference tracking.
- Symbol surfaces – Import/export tables, NAM-derived globals, IDA-resolved labels, and cross references.
- Type information – Typedef/struct/union/enum declarations rendered from the TIL section.
- Segments & fixups – Segment metadata (permissions, class, preview bytes) and raw fixup records.
- Structure introspection – Structure flags, member offsets, types, and comments straight from
$ structs. - JSON or text reports – Filtered, address-bounded views for quick inspection or downstream scripting.
Requirements
- Python 3.9+
python-idbcapstone
Install prerequisites:
pip install python-idb capstone
Usage
python -m src.main <path-to-database> [--report kind] [options]
Report kinds:
functions, strings, data, imports, exports,
names, globals, segments, fixups, structs, types, all
Common options:
--json– emit JSON instead of text.--limit N– stop afterNrecords.--start,--end– inclusive address filters (hex or decimal).--match REGEX– filter by name/text/type (varies per report).
Examples:
# Dump function disassembly
python -m src.main samples/kernel32.i64 --report functions --limit 10
# Export all metadata to JSON for automation
python -m src.main samples/kernel32.i64 --report all --json > kernel32.json
# Inspect segments with read/exec permissions
python -m src.main samples/kernel32.i64 --report segments --match "rx"
# List TIL typedefs containing "PEB"
python -m src.main samples/kernel32.i64 --report types --match PEB
Repository Layout
src/
main.py CLI entry point
i64_parser/
api.py Database orchestration / extraction API
data.py Non-code segment scanning
disasm.py Capstone disassembly glue
fixups.py `$ fixups` netnode scanner
functions.py Function chunk enumerator
globals.py NAM/global symbol collector
names.py Name resolution helpers
records.py Typed dataclasses for serialized output
references.py ReferenceResolver class
segments.py Segment table + scanner
strings.py ASCII/UTF-16 string extraction
structures.py `$ structs` reader
types.py TIL typedef/struct/enum harvesting
Workflow Notes
- All extraction methods are read-only; no database mutation occurs.
- When
python-idbcan emulate IDAPython APIs (e.g.,get_nlist_*), the tool prefers them; otherwise it falls back to raw netnode parsing. - New report types or filters can be added by introducing a record dataclass, scanner module, API façade, and CLI renderer—each component is isolated for clarity.
Roadmap
- Additional metadata surfaces: fixups by type, FlowChart/basic blocks, loader metadata.
- Optional writers (CSV/SQLite) for large-scale analytics.
- Tests driven by synthetic
.i64fixtures.
License
This project inherits the Apache 2.0 license through python-idb. See LICENSE once it's added to the repository.
Metadata
Release files for i64-parser 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| i64_parser-1.0.2.tar.gz | 14.9 kB | Without provenance | Details for i64_parser-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| i64_parser-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for i64_parser-1.0.2-py3-none-any.whl |
Total release size: 31.1 kB
Release files / i64_parser-1.0.2.tar.gz
| Download URL | i64_parser-1.0.2.tar.gz |
|---|---|
| Size | 14.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cd5e489ce0c923e377bb96b3d93a33c3ca9bdb20bb3f0e8bdafdc1051e304306
|
|
BLAKE2b-256 checksum How to use checksums |
1d6813f68e0a6f521bb73b07b24dc057777f25643e832afab4acc1d14aeb08bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.8
|
Release files / i64_parser-1.0.2-py3-none-any.whl
| Download URL | i64_parser-1.0.2-py3-none-any.whl |
|---|---|
| Size | 16.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2c42c41bebd81120d8532bbe0e70c90e400ceb4aa2a73b4b2b7f7f2c95defe2e
|
|
BLAKE2b-256 checksum How to use checksums |
719005aee7fe38fa26399cdaada22aeecc7f3b0e563a46a587b8ff74ef4d664a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.8
|
Security for i64-parser 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.