Skip to content
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

Converting not possible: relocation table missing or invalid! #4

Open
ShuHu2015 opened this issue Sep 16, 2020 · 2 comments
Open

Converting not possible: relocation table missing or invalid! #4

ShuHu2015 opened this issue Sep 16, 2020 · 2 comments

Comments

@ShuHu2015
Copy link

Could you support covert an exe without relocation table? Am I use it in a wrong way ?
As we know, most of exe have no relocation table.

@hasherezade
Copy link
Owner

hi! a PE with no relocation table can be loaded only at one, fixed base address: so it is a serious limitation. a valid DLL must have relocations table in order to be loaded at any given address.
relocation table is generated at compile time of the PE, and if it is missing, it cannot be easily added afterwards. that's why this converter doesn't support such files.
also it is not true that most EXEs have no relocation table. it was the case in the past, now majority of EXEs do have relocation tables.

@3ch035
Copy link

3ch035 commented Oct 9, 2024

@hasherezade
Sorry for pinging you but I also wanted help with this. I am not sure if this is possible, but I am trying to convert GHOSTS.exe into a dll if possible. I get the same relocation table error.

https://github.com/cmu-sei/GHOSTS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants