Page 1 of 1
VM Macro Lag
Posted: Thu Feb 05, 2015 3:06 am
by rec0de
When i use a loop vm_macros lag as hell when the code execute.
execute itself
update??
Re: VM Macro Lag
Posted: Mon Feb 09, 2015 7:31 am
by Alec
Hi.
Virtual Machine slows a code because it's being converted to the special instructions set and executed on an Enigma virtual processor, you must apply Virtual Machine only to the parts of your code that could be used to patch/crack your software, i.e. to a vital code parts that cracker shoulnd't see.
Re: VM Macro Lag
Posted: Tue Feb 10, 2015 7:21 am
by rec0de
Themida got MUTATE_START and MUTATE_END it works well with loops, enigma doesn't have nothing similar?
Re: VM Macro Lag
Posted: Tue Feb 10, 2015 10:33 am
by Enigma
You may use virtualization markers vm_begin/vm_end for the time critical parts of code. These markers are working much faster, however, provodes a lower security level.
Markers vm_risc_begin/vm_risc_end should be used for non time critical parts and they provide a maximum security level.
Re: VM Macro Lag
Posted: Wed Feb 11, 2015 4:31 am
by rec0de
ok ok but vm_begin vm_end still lagging at loops
the problem occurs with a loop, i need use vm_begin in this loops, how solve this?
Re: VM Macro Lag
Posted: Wed Feb 11, 2015 9:21 am
by Enigma
Looks like your loop is very time consuming, if even vm_marker does not provide enough speed for this part of the code, then it would be better just avoid to protect this loop. No any other ways to do that.
Re: VM Macro Lag
Posted: Thu Mar 12, 2015 4:41 am
by SeniorEx
Enigma wrote:Looks like your loop is very time consuming, if even vm_marker does not provide enough speed for this part of the code, then it would be better just avoid to protect this loop. No any other ways to do that.
Yes exactly , i tried one day to protect a CRC32 function with VM markers

, took an enternity to finish as the loop is too long i ended-up removing the markers there.
