Metadata-Version: 2.4
Name: vxatlas-ghidra
Version: 0.1.0
Summary: Import VxWorks firmware images into Ghidra with the base address, memory map and symbols recovered by VxAtlas
Author: The VxAtlas Authors
License-Expression: Apache-2.0
Project-URL: Homepage, https://github.com/kevthehermit/VXAtlas
Project-URL: Documentation, https://github.com/kevthehermit/VXAtlas/blob/main/docs/USAGE.md
Project-URL: Issues, https://github.com/kevthehermit/VXAtlas/issues
Keywords: vxworks,firmware,reverse-engineering,ghidra,pyghidra
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Security
Classifier: Topic :: Software Development :: Disassemblers
Classifier: Topic :: Software Development :: Embedded Systems
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: vxatlas==0.1.0
Requires-Dist: pyghidra>=3.0
Dynamic: license-file

# vxatlas-ghidra

Imports VxWorks 5.x, 6.x and 7.x firmware images into Ghidra using
[vxatlas](https://pypi.org/project/vxatlas/). The image is mapped at the
recovered base address with a bss block, every kernel symbol labelled, a
function at each code symbol and the symbol table typed. No manual base
address is needed.

It needs Ghidra 12.2 or later with a JDK that Ghidra supports, and the
`GHIDRA_INSTALL_DIR` environment variable pointing at the Ghidra folder.

```
pip install vxatlas-ghidra
vxatlas-ghidra import firmware.bin --project ~/ghidra-projects/demo
```

Then open the project in Ghidra.

- `--base`, `--language` and `--compiler` override what was detected.
- `--analyze` runs Ghidra auto-analysis during the import.
- `vxatlas-ghidra module driver.out --kernel vxWorks.bin --project DIR`
  imports a kernel module and resolves its undefined symbols against a kernel
  image.

This package talks to Ghidra through PyGhidra. pip installs PyGhidra from
PyPI; if its version does not match your Ghidra, install the copy shipped
with Ghidra instead:

```
pip install --no-index --find-links "$GHIDRA_INSTALL_DIR/Ghidra/Features/PyGhidra/pypkg/dist" pyghidra
```

Documentation, supported versions and known limits are in the
[project repository](https://github.com/kevthehermit/VXAtlas).
