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 revisionNext revisionBoth sides next revision | ||
reverse_engineering:ghidra:create_a_project [2022/03/12 12:01] – [ROMCOPY regions from static analysis] kitor | reverse_engineering:ghidra:create_a_project [2022/03/12 14:28] – [ROMCOPY regions from static analysis] kitor | ||
---|---|---|---|
Line 61: | Line 61: | ||
As a rule of thumb: | As a rule of thumb: | ||
- | * RAM starts at 0x40000000 | + | * RAM starts at '' |
- | * There' | + | * There' |
* Size of RAM depends on model. | * Size of RAM depends on model. | ||
- | * 0xCxxxxxxx and 0xDxxxxxxx are ranges where most devices live | + | * '' |
Memory map for [[https:// | Memory map for [[https:// | ||
Line 154: | Line 154: | ||
In disassembled code those may look like: | In disassembled code those may look like: | ||
< | < | ||
+ | // src holds address of data source in rom | ||
src = & | src = & | ||
+ | |||
+ | // loop reads src, writes to dst and increases both pointers by 1 | ||
+ | // as long as " | ||
for (dst = & | for (dst = & | ||
*dst = *src; | *dst = *src; |
reverse_engineering/ghidra/create_a_project.txt · Last modified: 2022/04/01 17:46 by kitor