Weird crash caused by Virtualization

Post here messages if you have any problems with working of Enigma Protector
Post Reply
tim66
Posts: 2
Joined: Thu Apr 12, 2012 11:38 pm

Weird crash caused by Virtualization

Post by tim66 »

I have an Enigma protected application using an Enigma protected dll.
To improve the dlls security I wanted to use Enigma's VM feature to virtualize key functions.
Sadly the application starts crashing when I virtualize some functions.
The crash only occurs when I utilize virtualization. A normally protected dll and the unprotected dll
are working fine.

edit: Some additional information
Compiler: MSVC6 + MSVC10 (/LTCG + /arch:SSE)
OS: Windows 7 amd64
It's a x86 executable

Kind Regards Tim
Enigma
Site Admin
Posts: 2945
Joined: Wed Aug 20, 2008 2:24 pm

Re: Weird crash caused by Virtualization

Post by Enigma »

Hi Tim,

There is an issue with the VM Marker for Visual Studio 2010, if there is try/catch block inside the marker. This happen with some particular applications.

Try to avoid usage try/catch inside VM, or, for example, around the code inside "try" and inside "catch" with the marker separately.

Hope this will be solved soon.
tim66
Posts: 2
Joined: Thu Apr 12, 2012 11:38 pm

Re: Weird crash caused by Virtualization

Post by tim66 »

Hi Enigma,

I don't use C++ exceptions in my code (I even disabled them in the compiler), neither I use SEH __try / __except blocks in the virtualized functions.

Kind Regards Tim
Enigma
Site Admin
Posts: 2945
Joined: Wed Aug 20, 2008 2:24 pm

Re: Weird crash caused by Virtualization

Post by Enigma »

Ok, so you are using virtualization by functions selecting through map file?

If possible, can you please send us all necessary files to reproduce the problem at support@enigmaprotector.com? (including non protected dll, so we will protect it and test). This will help to find a problem quickly.
Post Reply