-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Intro: How To? #1
Comments
Good question ! That's what goes into the |
Took another look at this problem - and I don't think this is fixable within Ghidra
😞 |
I think of this not as a problem of automatically detecting function entry addresses, but to fix the display (and generated C code) for whenever you mark something as a Is there some active Ghidra community that can advise a path to setup an address as a function, but to not have actual executeable code there? Working with my 4000m90 ROM, once you identify some code correctly (which is easy as the ROMs start with a jump to the actual bootstrap code), it's usually quite straight forward to go from there. It's just ... totally inconvenient to not be able to mark a function as such, thus we don't get some approximate C code generated for it. |
That might be solvable by a Ghidra script 🤔
There's some activity on Stackoverflow. I usually raise an issue to get help.
That's actually touching the boundary between the disassembler (which was my primary focus) and the decompiler (pcode). I haven't cared much about the latter :-/ |
I'll try to have a look. Getting Ghidra up is "just" a side project. (Indeed, it's my fist time ever using Ghidra.) When I attempted to disassemble some ROMs back in the days, I used Compared to that, the current state with Ghidra is a lot better! :) |
Hi Klaus!
Ghidra is built, I've loaded a dumped FEPROM from a /90, loaded at 0x2004000. That's probably a dumb question somehow, but .. how do I mark some bytes as a function?
I can place
l
abels somewhere.I can set a
t
ype ofword
for the register mask.I can
d
isassemble the code following the register mask word properly, but that doesn't give me a proper function (which would have nice code on the side and allow me to work on the function signature.)It seems there actually is a
f
unction command which can be used ond
isassembled bytes, but ... a VAXish function doesn't start at the code but two bytes earlier. And these two bytes (register mask) are not meaningfully disassembled. So: What's the trick with having a proper function (to also have its address resolved properly at theCALLS
side) and not getting ugly disassembly results for the register mask?Thanks!
The text was updated successfully, but these errors were encountered: