exe_to_dll icon indicating copy to clipboard operation
exe_to_dll copied to clipboard

Converting not possible: relocation table missing or invalid!

Open ShuHu2015 opened this issue 4 years ago • 2 comments

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.

ShuHu2015 avatar Sep 16 '20 07:09 ShuHu2015

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.

hasherezade avatar Sep 16 '20 23:09 hasherezade