Jul 24, 2019
06:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 24, 2019
06:51 AM
Hello everybody.
I'm trying to statically modify a TriCore ELF file and I need to replace the return instruction to jump to my code.
The problem is that return instruction is 2 bytes long and in order to jump to my code I need 4 bytes.
Can anyone here suggest a creative way to do so? Maybe using symbols or anything else...??
Thanks in advance
I'm trying to statically modify a TriCore ELF file and I need to replace the return instruction to jump to my code.
The problem is that return instruction is 2 bytes long and in order to jump to my code I need 4 bytes.
Can anyone here suggest a creative way to do so? Maybe using symbols or anything else...??
Thanks in advance
Labels
1 Reply
Jul 25, 2019
06:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 25, 2019
06:10 AM
Try to 2 bytes relative jump in an empty place near. And place your full absolute jump there