VMProtect doesn't see the vm markers

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.

Could you send us a test example (original EXE file) that shows your problem?

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.

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.

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.

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 :slight_smile:)

I will never had this problem :smiley:
Please check your inbox I made a quick video.

Please read my latest message more carefully. Here is the screeshot that shows import functions:

As you can see VMProtect-TEST-Release.dll doesn’t use VMProtectSDK32.dll

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.

I use seven VM macros but VMProtect recognize just six macros.

Because your release version doesn’t containt the “MessageDecrypt” function.

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 ?

What isn’t clear in the following sentence?
Because your release version doesn’t containt the “MessageDecrypt” function.

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.

It seems you don’t know what is “dead code elimination”.

P.S The topic is closed.