v3.8.7 NET6 invalid operand type

Issues related to VMProtect
Post Reply
AusterX
Posts: 19
Joined: Sun Mar 05, 2023 9:29 am

v3.8.7 NET6 invalid operand type

Post by AusterX »

Hello,
i upgraded to 3.8.7.2000 and compilation stops immediatly with a generic "invalid operand type" error.
No more info using VMProtect_con.exe
Compiling... 8%
[Error] Invalid operand type

Is there a way to have more error details?

Thank you
Admin
Site Admin
Posts: 2586
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: v3.8.7 NET6 invalid operand type

Post by Admin »

Fixed in the 2001 build.
AusterX
Posts: 19
Joined: Sun Mar 05, 2023 9:29 am

Re: v3.8.7 NET6 invalid operand type

Post by AusterX »

b2001 gives error a bit later

Compiling... 9%
[Error] Invalid operand type
Admin
Site Admin
Posts: 2586
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: v3.8.7 NET6 invalid operand type

Post by Admin »

Please send us your original binary + VMP file that shows your problem.
AusterX
Posts: 19
Joined: Sun Mar 05, 2023 9:29 am

Re: v3.8.7 NET6 invalid operand type

Post by AusterX »

Unfortunally i cannot, i'll try to strip it down till i find the critical point.
Is it possible to have a more verbose error output? This woudl help me.
Admin
Site Admin
Posts: 2586
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: v3.8.7 NET6 invalid operand type

Post by Admin »

Please try the 2002 build.
AusterX
Posts: 19
Joined: Sun Mar 05, 2023 9:29 am

Re: v3.8.7 NET6 invalid operand type

Post by AusterX »

2002 works, thanks.
But, since 3.8.6, using default VM (not the compatc old one), compilation of my dll most of the time stays stuck 30-40seconds at "compiling 100%" then resulting protected file is +1200% bigger, some other (few) times compilation doesn't get stuck at all, and resulting file is +800% bigger.

Resulting protected application is anyway slower than using v3.8.4 or lower, even if using VM compact.
Any suggestion? Does it have any sense to put complexity 1% rather than using VM compact?
Admin
Site Admin
Posts: 2586
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: v3.8.7 NET6 invalid operand type

Post by Admin »

There are many differences in VM between 3.8.4 and 3.8.6, so 3.8.6 is slower and is bigger than 3.8.4. Complexity makes the decompilation of virtualized code much more complex that decompilation of Compact and we recommend use Complexity > 20%.
weloveayaka
Posts: 58
Joined: Wed Jul 05, 2023 6:21 am

Re: v3.8.7 NET6 invalid operand type

Post by weloveayaka »

Could you please send me 2002 build, I also encountered Invalid operand type at 2001
weloveayaka
Posts: 58
Joined: Wed Jul 05, 2023 6:21 am

Re: v3.8.7 NET6 invalid operand type

Post by weloveayaka »

I once encountered an InvalidProgramException (only once), with the error message "Common Language Runtime detected an invalid program." However, after recompiling the code without modifying any configuration, the issue disappeared.
Post Reply