Performance

Issues related to VMProtect
Post Reply
abcdefghijklnmopqrst
Posts: 30
Joined: Fri Sep 23, 2022 5:37 pm

Performance

Post by abcdefghijklnmopqrst »

Version:3.8.1.1695
Seting:
Instances:1,All file protection false.
A:Complexity 0
B:Complexity 100

B has more fps than A. Why?


Vt:
https://www.virustotal.com/gui/file/1ad ... ?nocache=1

Video:
https://streamja.com/aNEpz
Attachments
libmmd.zip
(1.81 MiB) Downloaded 127 times
Release.zip
full
(2.99 MiB) Downloaded 127 times
Admin
Site Admin
Posts: 2566
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: Performance

Post by Admin »

Because complex handlers were optimized.
abcdefghijklnmopqrst
Posts: 30
Joined: Fri Sep 23, 2022 5:37 pm

Re: Performance

Post by abcdefghijklnmopqrst »

Admin wrote:Because complex handlers were optimized.
Cant this optimization be used without turn on complexity?
Admin
Site Admin
Posts: 2566
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: Performance

Post by Admin »

Several simple handlers (complexity = 0%) work like this:

Code: Select all

handler1
jmp handler2
handler2
jmp handler3
...
handlerN
jmp next_handler
Complex handler that contains handler1...N works like this:

Code: Select all

handler1
handler2
...
handlerN
jmp next_handler
So the complex handler doesn't load addresses of handler2..N and it works faster than sum of handler1..N.
Post Reply