Page 1 of 1
v3.8.7 NET6 invalid operand type
Posted: Mon Feb 12, 2024 8:57 am
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
Re: v3.8.7 NET6 invalid operand type
Posted: Tue Feb 13, 2024 6:35 am
by Admin
Fixed in the 2001 build.
Re: v3.8.7 NET6 invalid operand type
Posted: Tue Feb 13, 2024 9:45 am
by AusterX
b2001 gives error a bit later
Compiling... 9%
[Error] Invalid operand type
Re: v3.8.7 NET6 invalid operand type
Posted: Tue Feb 13, 2024 10:30 am
by Admin
Please send us your original binary + VMP file that shows your problem.
Re: v3.8.7 NET6 invalid operand type
Posted: Tue Feb 13, 2024 6:16 pm
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.
Re: v3.8.7 NET6 invalid operand type
Posted: Wed Feb 14, 2024 10:49 am
by Admin
Please try the 2002 build.
Re: v3.8.7 NET6 invalid operand type
Posted: Wed Feb 14, 2024 6:50 pm
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?
Re: v3.8.7 NET6 invalid operand type
Posted: Wed Feb 14, 2024 6:57 pm
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%.
Re: v3.8.7 NET6 invalid operand type
Posted: Thu Mar 07, 2024 11:56 am
by weloveayaka
Could you please send me 2002 build, I also encountered Invalid operand type at 2001
Re: v3.8.7 NET6 invalid operand type
Posted: Thu Mar 07, 2024 12:39 pm
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.