reverse_engineering:ghidra:create_a_project
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
reverse_engineering:ghidra:create_a_project [2022/03/12 10:45] – kitor | reverse_engineering:ghidra:create_a_project [2022/04/01 17:46] (current) – [Initial analysis] kitor | ||
---|---|---|---|
Line 33: | Line 33: | ||
Close by clicking OK on all dialogs, and then acknowledge the import result. File will appear in a project. | Close by clicking OK on all dialogs, and then acknowledge the import result. File will appear in a project. | ||
- | ===== Initial analysis | + | ===== Project preparation |
Click twice on newly imported file. It will bring up "Code Browser" | Click twice on newly imported file. It will bring up "Code Browser" | ||
Line 39: | Line 39: | ||
Ghidra will ask if you want to perform auto analysis now - select **No**. | Ghidra will ask if you want to perform auto analysis now - select **No**. | ||
- | === Run disassembly | + | === Load 2nd ROM file (where applicable) |
- | Jump to second level (DryOS) bootloader address (press | + | Go to '' |
- | ^ CPU ^ Address | + | Open '' |
- | | Digic 6 | + | |
- | | Digic 7,8 | '' | + | |
- | | Digic X | '' | + | |
- | Press F12 to disassemble in Thumb mode. Wait for Ghidra to finish a task - it will discover a lot of functions so it will take some time. | + | === Fix memory map === |
- | After it is done, we name that function | + | Navigate to '' |
+ | === Add other memory regions === | ||
- | === Fix memory map === | + | This topic has a separate Wiki section: [[reverse_engineering: |
- | Navigate to '' | + | == Result == |
- | === Run auto analysis === | + | Complete memory map for EOS R 1.8.0 (internal 7.3.9) firmware: |
+ | |||
+ | {{ : | ||
+ | |||
+ | ===== Initial analysis ===== | ||
+ | |||
+ | Project is now ready to start disassembling. | ||
+ | |||
+ | === Configure | ||
Navigate to '' | Navigate to '' | ||
Line 67: | Line 73: | ||
* Disable " | * Disable " | ||
- | Run the analysis - it will take a long time. After it is done, you may want to run "one shot" analysis for Embedded media and for Create Address Tables - but YRMV. | + | Click '' |
+ | |||
+ | === Run disassembly === | ||
+ | |||
+ | Jump to second level (DryOS) bootloader address (press ' | ||
+ | |||
+ | ^ CPU ^ Address | ||
+ | | Digic 6 | '' | ||
+ | | Digic 7,8 | '' | ||
+ | | Digic X | '' | ||
+ | |||
+ | Press F12 to disassemble in Thumb mode. Wait for Ghidra to finish a task - it will discover a lot of functions so it will take some time. | ||
+ | |||
+ | After it is done, we name that function '' | ||
+ | |||
+ | === Run auto analysis === | ||
+ | |||
+ | Go back to '' | ||
+ | |||
+ | Run the analysis - it will take a long time. After it is done, you may want to run "one shot" analysis for Embedded media and for Create Address Tables - but YMMV. | ||
reverse_engineering/ghidra/create_a_project.1647078335.txt.gz · Last modified: 2022/03/12 10:45 by kitor