Page 1 of 1
VMProtect doesn't see the vm markers
Posted: Mon May 07, 2018 8:08 pm
by Mahmoudnia
Hello, I am using VMProtect 3.1.2 Build 917
I have many functions that I want to use VM markers but VMProtect doesn't see some of them.
I use VS2015 in windows 10 and I use the virtualization marker, not mutation or ultra.
I use same name in VMProtectBegin input parameter for all my functions.
What is my problem ?
Thank you.
Re: VMProtect doesn't see the vm markers
Posted: Tue May 08, 2018 5:18 am
by Admin
Could you send us a test example (original EXE file) that shows your problem?
Re: VMProtect doesn't see the vm markers
Posted: Tue May 08, 2018 6:16 am
by Mahmoudnia
Hello, Admin
is there a difference between debug or release compiling mode for VMProtect ?
I send you in private chat, because it's a commercial product.
Thank you.
Re: VMProtect doesn't see the vm markers
Posted: Tue May 08, 2018 8:10 am
by Admin
We have received your examples but I don't understand what is the problem. Only VMProtect-TEST-Release.dll has no markers because our SDK wasn't used in this file.
Re: VMProtect doesn't see the vm markers
Posted: Tue May 08, 2018 8:23 am
by Mahmoudnia
The problem is
I have many function in our DLL file that we use VMProtect macros in functions but if I have 7 macros, VMProtect recognize just 6 macros.
In DLL VMProtect-TEST.dll I have 2 functions that compiled with release and debug mode. in debug mode VMProtect recognize all of them but in Release mode VMProtect recognize nothing.
Re: VMProtect doesn't see the vm markers
Posted: Tue May 08, 2018 8:58 am
by Admin
VMProtect-TEST-Release.dll has no markers because our SDK wasn't used in this file. I don't know how you compile your DLLs

)
Re: VMProtect doesn't see the vm markers
Posted: Tue May 08, 2018 11:51 am
by Mahmoudnia
I will never had this problem
Please check your inbox I made a quick video.
Re: VMProtect doesn't see the vm markers
Posted: Tue May 08, 2018 12:15 pm
by Admin
Please read my latest message more carefully. Here is the screeshot that shows import functions:
Re: VMProtect doesn't see the vm markers
Posted: Tue May 08, 2018 12:19 pm
by Admin
As you can see VMProtect-TEST-Release.dll doesn't use VMProtectSDK32.dll
Re: VMProtect doesn't see the vm markers
Posted: Tue May 08, 2018 12:29 pm
by Mahmoudnia
I checked the import table with VMProtect and CFF Explorer and You are right.
But what about count of VM macros ?
I use seven VM macros but VMProtect recognize just six macros.
Re: VMProtect doesn't see the vm markers
Posted: Tue May 08, 2018 12:44 pm
by Admin
I use seven VM macros but VMProtect recognize just six macros.
Because your release version doesn't containt the "MessageDecrypt" function.
Re: VMProtect doesn't see the vm markers
Posted: Tue May 08, 2018 1:32 pm
by Mahmoudnia
it's impossible because debug or release mode is not code modifier they are same code editor .
I think it's about compiler or something in VMProtect.
I show you in videos I use 7 macros in SecureByteKit.dll
VMProtect recognize all of theme but in release mode not.
is there any solution for this case ?
What can I do ?
Re: VMProtect doesn't see the vm markers
Posted: Tue May 08, 2018 1:35 pm
by Admin
What isn't clear in the following sentence?
Because your release version doesn't containt the "MessageDecrypt" function.
Re: VMProtect doesn't see the vm markers
Posted: Tue May 08, 2018 2:00 pm
by Mahmoudnia
Because I see my codes right now.
in release mode configuration:
I set the path of VMProtectSDK32.lib in additional library directories and additional dependencies.
I set Optimization to disable or anything exist in parameters.
But the problem still exist.
Re: VMProtect doesn't see the vm markers
Posted: Tue May 08, 2018 2:04 pm
by Admin
It seems you don't know what is "
dead code elimination".
P.S The topic is closed.