New "Complexity" Value

Issues related to VMProtect
Post Reply
LZBNBJc5D6Qg3i
Posts: 8
Joined: Sat Mar 05, 2022 4:08 am

New "Complexity" Value

Post by LZBNBJc5D6Qg3i »

Hey Im wondering about the new "Complexity" option introduced with VMProtect 3.8.

What was the default internal value before the update made it configurable? Because if i set it to 100% it increases my file size by ~30MB

What exactly does a "complex" function inside of the VM mean and what does it protect you from?

Thanks
Admin
Site Admin
Posts: 2566
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: New "Complexity" Value

Post by Admin »

The "Complexity" sets the probability of creating complex handlers inside the virtual machine, which can consist of many simple operations. "Complexity = None (0%)" doesn't create complex handlers and it works like previous versions. Complexity breaks all existing tools for analyzing/decompiling of virtualized code.
LZBNBJc5D6Qg3i
Posts: 8
Joined: Sat Mar 05, 2022 4:08 am

Re: New "Complexity" Value

Post by LZBNBJc5D6Qg3i »

Admin wrote:The "Complexity" sets the probability of creating complex handlers inside the virtual machine, which can consist of many simple operations. "Complexity = None (0%)" doesn't create complex handlers and it works like previous versions.
Thank you for the explanation!

Is it similar to inserting junk instructions like the Mutation?

Does Complex help against Reverse Engineering and does it impact performance?

EDIT: If i set it to 50%, will that still add complexity to ALL of the virtual machines?
LZBNBJc5D6Qg3i
Posts: 8
Joined: Sat Mar 05, 2022 4:08 am

Re: New "Complexity" Value

Post by LZBNBJc5D6Qg3i »

Admin wrote:Complexity breaks all existing tools for analyzing/decompiling of virtualized code.
So do you recommend setting it to 100%?
Code02
Posts: 3
Joined: Tue Mar 14, 2023 10:06 am

Re: New "Complexity" Value

Post by Code02 »

Hello,

I am also interested to know more about this option.
What is the default complexity value?
Which is the recommended one?
Why settings complexity at 20% produces smaller executables, then when setting complexity to none?
Admin
Site Admin
Posts: 2566
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: New "Complexity" Value

Post by Admin »

What is the default complexity value?
Options - Virtual Machine - Complexity has no the default value.
Which is the recommended one?
Any value more than 0%
Why settings complexity at 20% produces smaller executables, then when setting complexity to none?
Usually Complexity increases the size of a protected file.
abcdefghijklnmopqrst
Posts: 30
Joined: Fri Sep 23, 2022 5:37 pm

Re: New "Complexity" Value

Post by abcdefghijklnmopqrst »

LZBNBJc5D6Qg3i wrote:
Admin wrote:The "Complexity" sets the probability of creating complex handlers inside the virtual machine, which can consist of many simple operations. "Complexity = None (0%)" doesn't create complex handlers and it works like previous versions.
Thank you for the explanation!

Is it similar to inserting junk instructions like the Mutation?

Does Complex help against Reverse Engineering and does it impact performance?

EDIT: If i set it to 50%, will that still add complexity to ALL of the virtual machines?
You might be interested.
viewtopic.php?f=2&t=30297
Post Reply