Image Has Safe Exception Handlers is no supported
Image Has Safe Exception Handlers is no supported
Hey,
When linking to MadCodeHook binaries with VS2013 (I guess it also happens in earlier versions), the linker fails because safe exception Handling is no supported in the MadCodeHook lib (/SAFESEH option http://msdn.microsoft.com/en-us/library/9a89h429.aspx).
It is possible to add this feature quite easily by recompiling MadCodeHook with a newer version of CRT (or newer visual studio...)
When linking to MadCodeHook binaries with VS2013 (I guess it also happens in earlier versions), the linker fails because safe exception Handling is no supported in the MadCodeHook lib (/SAFESEH option http://msdn.microsoft.com/en-us/library/9a89h429.aspx).
It is possible to add this feature quite easily by recompiling MadCodeHook with a newer version of CRT (or newer visual studio...)
-
- Posts: 88
- Joined: Fri Mar 21, 2008 4:52 am
- Location: Adelaide, South Australia
- Contact:
Re: Image Has Safe Exception Handlers is no supported
I spoke with Mathias a while back about this and he mentioned that this can not be enabled for the 32bit static lib, because the 32bit static lib is still based on the Delphi source code. Delphi still does not support enabling of SafeSEH for 32 bit binaries. Although, I do have information from EMBT that they are looking into its support in future compiler releases.
Re: Image Has Safe Exception Handlers is no supported
Okay, thanks!
Re: Image Has Safe Exception Handlers is no supported
Is there any improvement since 2014 here ?
Currently I get:
Currently I get:
SafeSEH is something that is mandatory by several clients same way as ASLR.1>madCHook32.lib(madCHook.obj) : error LNK2026: module unsafe for SAFESEH image.
Re: Image Has Safe Exception Handlers is no supported
The Delphi based static lib doesn't support SafeSEH, but I suppose compiling the C++ code base to create a 32bit static lib should work. No complaints with 64bit, right?
Re: Image Has Safe Exception Handlers is no supported
SafeSEH flag is irrelevant for 64-bit since SEH in 64-bit is already table based.
Re: Image Has Safe Exception Handlers is no supported
Ah yes. Hmmmm... So anyway, I think using the C++ sources it should probably be possible to create a SafeSEH compatible 32bit static lib.
Re: Image Has Safe Exception Handlers is no supported
Can you compile lib using C++ and add it to madchook package?
Thanks
Thanks
Re: Image Has Safe Exception Handlers is no supported
Yes, that should be possible.
Re: Image Has Safe Exception Handlers is no supported
That would be great !
Waiting for an update.
Waiting for an update.
Re: Image Has Safe Exception Handlers is no supported
Not Found
The requested URL /madCollectionBeta.exe was not found on this server.
Re: Image Has Safe Exception Handlers is no supported
Ooops, sorry. Should work now.
Re: Image Has Safe Exception Handlers is no supported
Thanks.
C++ library compiles with SafeSEH.
C++ library compiles with SafeSEH.