Closed shanya0xff closed 11 months ago
UPD: I noticed that using module overloading injection helped me to make my 32-bit PE handle exceptions correctly. So, to support SEH in your x32 PE, just choose module overloading when building an instance. The main thing is that your application will be mapped like an Image(MEM_IMAGE) in host-process, and this helped me in my case.
It didn't work for me. When my c++ application throws an exception, the program just crashes.
I generate as follows: donut.exe -a:2 -j:in.exe -i:in.exe
What am I doing wrong?
Any ideas how to add support to files with SEH? For x64 unmanaged binaries we can use RtlAddFunctionTable NTAPI, but what about x32 binaries?