-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Relocations table in MZ files not supported #1200
Comments
Is there any documentation about inner structures, e.g. RBinRelloc ? |
Relocs are not supported in any file format. They are only listed, but they do not virtually modify the io layer yet. That should be easy to do, but im currently busy in other todo points. Anyway, whats the output radiff2 -r IDMAS.exe? Iirc there's a pad collecting all kind of random information about different relocation types on different file formats in order to define it properly to be crossplatform.
|
Nope there's no documentation on that. Just check how it's used in pe, elf or mach0. This is implemented but not used so far the symbol definition (relocs does not yet modify io memory yet)
|
Ok, thanks for information. |
No, thats correct because as you said its not implemented for mz :) only for pe iirc
|
can we have a test case for this? |
@marespiaut "can we have a test case for this?" ? |
@Maijin It's not possible yet. First of all, because Motor City isn't a freeware game, so I have to find a freeware binary with the same problem. Second of all, I don't know (yet) what this is about, as I'm not familiar with the concept of relocation table. |
Well yeah no problem take something else ^^ |
any other bin? |
@radare Not for now. I'll do some research this evening. |
@marespiaut any update? |
Good news, seems it was fixed in 0c57a43 or bit later. |
@marespiaut ^ |
* Fixed a scaling issue of Graph * Thoroughly fixed for the scaling * double click fixed
Subj. Have old dos mz executable with relocation table.
Beginning of file:
As you can see relocation talbe starts at 0000:001c and contains 0x13b elements.
Radare 2 not processed relocation table, and after start comes into
which is part of relocation table.
The text was updated successfully, but these errors were encountered: