-
Notifications
You must be signed in to change notification settings - Fork 3
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
Pointers do not seem to work properly. #2
Comments
So GitHub's auto link close feature thing has failed me. I just removed all processing of |
EDIT: I have moved this into a separate issue, #2. Unfortunately the issue still exists somewhat. This is the same code screenshotted above. It now successfully gets the name of the symbol, which when clicked navigates to the real string. It isn't ideal, but it's good enough for me. However, I have another seemingly related issue (which is why I've re-opened this one) affecting the executable I'd actually like to reverse. The addresses shown here (eg. $227BB8h) are not correct. Both IDA and PCSX2's Debugger read some of these instructions different from Ghidra. |
In order for the string value to be used in place of the symbol the data needs to be marked as constant. To do so right click on the data, go to the data sub menu, then settings and choose constant under mutability. This is standard ghidra behavior. I typically set the default mutability to constant for string datatypes and will use a char array when I know the data is mutable. |
Ah, I see. That's my fault then. |
Set the mutability to constant. |
@astrelsky I hope everything is going well. I have an issue to report though.
It seems like many pointers are not interpretted correctly.
I compiled this code:
When disassembling in Ghidra, I get this:
I notice that 0x221700 is exactly double the real pointer address. Seems like an issue with the plugin to me.
cw_dbg_opt0.zip
The text was updated successfully, but these errors were encountered: