Using any SDK function in .NET causes deadlock on "Saving..."

Issues related to VMProtect
Post Reply
3dsboy08
Posts: 8
Joined: Sat Aug 03, 2019 2:54 pm

Using any SDK function in .NET causes deadlock on "Saving..."

Post by 3dsboy08 »

Seems that using any sort of SDK functionality in .NET VMProtect causes a deadlock on the "Saving..." phase (stuck at 0%)

https://i.vgy.me/AO66Z3.png

Example code:

Code: Select all

    public class VMPTest
    {
        [BeginVirtualization]
        public static void Main(string[] args)
        {
            if (SDK.IsDebuggerPresent(true))
            {
                Console.WriteLine("Debugger detected!");
                Console.ReadLine();
            }
            else
            {
                Console.WriteLine("Debugger not detected!");
                Console.ReadLine();
            }
        }
    }
Example program (just compiled from above):
https://anonfile.com/T5p4ff23nf/VMPNetTesting_exe

If you need my SDK DLL you can DM/email me.
Admin
Site Admin
Posts: 2586
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: Using any SDK function in .NET causes deadlock on "Saving..."

Post by Admin »

Please send your example to info@vmpsoft.com
x22x22
Posts: 19
Joined: Sat Jul 20, 2019 2:33 pm

Re: Using any SDK function in .NET causes deadlock on "Saving..."

Post by x22x22 »

I have same problem and I don't use any sdk function.
3dsboy08
Posts: 8
Joined: Sat Aug 03, 2019 2:54 pm

Re: Using any SDK function in .NET causes deadlock on "Saving..."

Post by 3dsboy08 »

x22x22 wrote:I have same problem and I don't use any sdk function.
Do you enable the anti-VM or anti-debug in the VMProtect settings? Its also reproducable this way aswell.
Admin wrote:Please send your example to info@vmpsoft.com
Done, check your email.
Admin
Site Admin
Posts: 2586
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: Using any SDK function in .NET causes deadlock on "Saving..."

Post by Admin »

x22x22
Posts: 19
Joined: Sat Jul 20, 2019 2:33 pm

Re: Using any SDK function in .NET causes deadlock on "Saving..."

Post by x22x22 »

3dsboy08 wrote: Do you enable the anti-VM or anti-debug in the VMProtect settings? Its also reproducable this way aswell.
I'm using just virtualization on some functions.

Also, did you try it after the update?
The problem still continues for me :(
Lafko
Posts: 21
Joined: Sat Apr 27, 2019 8:47 am

Re: Using any SDK function in .NET causes deadlock on "Saving..."

Post by Lafko »

Same problem in 1130. And i have error "Invalid token type: call..." and its so hard to find Methud to delete
Admin
Site Admin
Posts: 2586
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: Using any SDK function in .NET causes deadlock on "Saving..."

Post by Admin »

And i have error "Invalid token type: call..."
Please send us a test example.
3dsboy08
Posts: 8
Joined: Sat Aug 03, 2019 2:54 pm

Re: Using any SDK function in .NET causes deadlock on "Saving..."

Post by 3dsboy08 »

Admin wrote:Fixed in the 1031 build:
http://vmpsoft.com/files/VMProtectDemo.exe
How could I get this new build? I have a 'Professional' license for VMProtect and did not get an email for this update. If the new build could either be sent to my email address or some way of activating the demo with my license, it would be nice. Thanks!

Edit: Got it now.
Post Reply