Skip to content

Commit

Permalink
add picture
Browse files Browse the repository at this point in the history
  • Loading branch information
gogo2464 committed Jun 28, 2024
1 parent 614c0c0 commit 872428d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ commit: dc2862970735c473770adedf17792669bf2a2f04 build: 2022-08-05__22:59:00
```
), radare2 does not analyses symbols yet. So open the ROM pokered.gbc with the command `wine64 $(pwd)/bgb/bgb64.exe $(pwd)/pokered/pokered.gbc;`. Left click in the bgb emulator and then type `esc`. Right click > go to > type `PlaySound:`

Then you should see that: ![image](/gogo-s-blog/images/episode-1-reverse-engineering-and-exploitation-of-pokemon-red-and-blue/bgb-screenshot-censored.png)
Then you should see that: ![image](/gogo-s-blog-cpe/from-0-to-buffer-overflow-by-projects/episode-1-reverse-engineering-and-exploitation-of-pokemon-red-and-blue/bgb-screenshot-censored.png)

The highligthed instruction is `PlaySound`, and contains the offset that we must rely on. The offset is 0x23b1.

Expand Down

0 comments on commit 872428d

Please sign in to comment.