Hi,
Is it possible to enable ASLR for the uninstaller generted by NSIS script?
The uninstaller is failed in memory protection test and I can't find any option to enable ASLR for the uninstaller..
Thanks for your reply. I did not use !uninstfinalize.
The Installer & Uninstaller compiled by makensis are failed in memory protection test because it can't find the ASLR in the Installer.exe/ Uninstaller.exe PE header. (Not our Exe & Dlls)
So I would like to know if there's any way to add the ASLR option in the NSIS script for the installer/uninstaller.
Thanks.
Louis
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
"it can't find the ASLR" has no meaning because it is just a flag. I already showed you that we are setting the flag that indicates that we are ASLR compatible (meaning, we don't rely on the stack or anything else having a specific address).
What we don't have in the .exe is relocations and this means ASLR cannot actually load our .exe at random places in memory. There is currently no way to enable relocations in makensis.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Are you using PEDllCharacteristics? !uninstfinalize?
We are setting that flag:
That being said, we can't actually relocate the .exe because it does not have relocations. The official plug-ins are all fully ASLR compatible tough.
Thanks for your reply. I did not use !uninstfinalize.
The Installer & Uninstaller compiled by makensis are failed in memory protection test because it can't find the ASLR in the Installer.exe/ Uninstaller.exe PE header. (Not our Exe & Dlls)
So I would like to know if there's any way to add the ASLR option in the NSIS script for the installer/uninstaller.
Thanks.
Louis
"it can't find the ASLR" has no meaning because it is just a flag. I already showed you that we are setting the flag that indicates that we are ASLR compatible (meaning, we don't rely on the stack or anything else having a specific address).
What we don't have in the .exe is relocations and this means ASLR cannot actually load our .exe at random places in memory. There is currently no way to enable relocations in makensis.