Ghidra - open source reverse engineering tool

All hardware related, disassembly / programming and code discussions belong here.
efloth
Posts: 298
Joined: 2021 Feb 15, 22:12
Location: Sacramento CA
Vehicle Information: 1991 F150 4.9L J1X 80lb Injectors E85
1995 F150 5.8L MOB1

Re: Ghidra - open source reverse engineering tool

Unread post by efloth »

This is really cool. Programming in assembly is not for the faint of heart. This could really open the doors to understanding the code better. I tried to get this working with my 56k bin but I keep getting this error

Start address must be less than or equal to end address: Start Stack[0x900] end = Stack[0x800]

I added a 0x2000 offset to the bin and configured it the same way as the screenshot. Not sure what I did wrong here. I just copied the sleigh files into ..ghidra\processors\806x
efloth
Posts: 298
Joined: 2021 Feb 15, 22:12
Location: Sacramento CA
Vehicle Information: 1991 F150 4.9L J1X 80lb Injectors E85
1995 F150 5.8L MOB1

Re: Ghidra - open source reverse engineering tool

Unread post by efloth »

ghidra.png
wwhite
Posts: 316
Joined: 2021 Feb 16, 15:53
Location: Victoria, BC, Canada
Vehicle Information: 1994 Flarside, XLT, 351w E4OD
SD48b, Quarter Horse, Burn2

Re: Ghidra - open source reverse engineering tool

Unread post by wwhite »

Looks like the download.zip has issues, reason is the .cspec file is wrong.
Stack space should be defined as:

Code: Select all

 <range space="stack" first="0x0800" last="0x0900" />
not the other way around.
Get the latest files from github:
https://github.com/mercury64/Ghidra-EEC-806x
Post Reply