This repository contains Ghidra scripts that should be helpful while working with Canon EOS based firmwares.
Python implementation of ROM loader. Loads ROM for selected model, and prepares
a complete memory map based on definitions in cfg/memory.py
For details, see Load ROM
Decode and define data structures from CreateStateObject calls. Create functions where autoanalysis missed them, optionally - change name prefixes, set function arg1 to proper name / type and assign function to a namespace.
For details, see State Objects
Add the root folder of this repository to Script manager:
- Open CodeBrowser tool.
- Navigate to Window -> Script manager
- Click on "Manage scripts directories" button in top-right corner.
- Add your checked out repository to the list.
- Scripts will appear in Script Manager, in MagicLantern directory.