User Tools

Site Tools


reverse_engineering:ghidra:create_a_project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
reverse_engineering:ghidra:create_a_project [2022/03/12 11:59] – [Initial analysis] kitorreverse_engineering:ghidra:create_a_project [2022/03/12 12:02] 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" window. Click twice on newly imported file. It will bring up "Code Browser" window.
Line 61: Line 61:
  
 As a rule of thumb: As a rule of thumb:
-  * RAM starts at 0x40000000 +  * RAM starts at ''0x40000000'' 
-  * There's a mirror of RAM available at 0x00000000+  * There's a mirror of RAM available at ''0x00000000''
   * Size of RAM depends on model.   * Size of RAM depends on model.
-  * 0xCxxxxxxx and 0xDxxxxxxx are ranges where most devices live+  * ''0xCxxxxxxx'' and ''0xDxxxxxxx'' are ranges where most devices live
  
 Memory map for [[https://www.magiclantern.fm/forum/index.php?topic=19737.msg212603#msg212603|Digic 7]] [[https://www.magiclantern.fm/forum/index.php?topic=22770.msg212090#msg212090|Digic 8]] [[https://www.magiclantern.fm/forum/index.php?topic=24827.msg230859#msg230859|Digic X]] Memory map for [[https://www.magiclantern.fm/forum/index.php?topic=19737.msg212603#msg212603|Digic 7]] [[https://www.magiclantern.fm/forum/index.php?topic=22770.msg212090#msg212090|Digic 8]] [[https://www.magiclantern.fm/forum/index.php?topic=24827.msg230859#msg230859|Digic X]]
Line 105: Line 105:
  
 {{ :reverse_engineering:ghidra:ghidra_r180_memory.jpg|}} {{ :reverse_engineering:ghidra:ghidra_r180_memory.jpg|}}
 +
 +===== Initial analysis =====
 +
 +Project is now ready to start disassembling.
  
 === Run disassembly === === Run disassembly ===
Line 159: Line 163:
 Example, from SX740.102: Example, from SX740.102:
 ^ source     ^ to:start              ^ to:end                ^ size                 ^ ^ source     ^ to:start              ^ to:end                ^ size                 ^
-| 0xe101ced8 | 0x4000                | 0x23770               | 0x1F770              | +''0xe101ced8'' ''0x4000''                ''0x23770''               | ''0x1F770''              | 
-| 0xe103c648 | 0x23770               | 0x59f14               | 0x367A4              | +''0xe103c648'' ''0x23770''               | ''0x59f14''               | ''0x367A4''              | 
-| -          | <del>0x59f14</del>    | <del>0xddd1c</del>    | <del>ram erase</del>+| -              | <del>''0x59f14''</del>    | <del>''0xddd1c''</del>    | <del>ram erase</del>     
-| 0xe1072dec | 0xdf002800            | 0xdf00339c            | 0xB9C                | +''0xe1072dec'' ''0xdf002800''            ''0xdf00339c''            ''0xB9C''                | 
-| -          | <del>0xdf00339c</del> | <del>0xdf0033a8</del> | <del>ram erase</del> |+| -              | <del>''0xdf00339c''</del> | <del>''0xdf0033a8''</del> | <del>ram erase</del>     |
  
reverse_engineering/ghidra/create_a_project.txt · Last modified: 2022/04/01 17:46 by kitor