VMP 3 script - lock function to key

Issues related to VMProtect
Post Reply
ChMo
Posts: 21
Joined: Mon Aug 26, 2013 11:54 am

VMP 3 script - lock function to key

Post by ChMo »

In VMP 2 I could add a function via script and lock it to the key with this code:

Code: Select all

proc := VMProtector.AddByAddress(func.Address, compilationType, True);
proc.CompilationOptions := proc.CompilationOptions + [coUseKey];
In VMP 3 I haven't found a way to do it. Neither CompilationType, nor the object returned by addByAddress has CompilationOptions or something that looks like a key-lock. How do I do it?
Admin
Site Admin
Posts: 2566
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: VMP 3 script - lock function to key

Post by Admin »

Unfortunately the current version (3.0) has no such feature.
ChMo
Posts: 21
Joined: Mon Aug 26, 2013 11:54 am

Re: VMP 3 script - lock function to key

Post by ChMo »

No such feature?
Using the UI I can select a protected function and see a "Lock To Serial Number".
Ok, so this is inactive because it's not implemented yet, and thus also not exposed to the script. :)
Post Reply