Search found 2585 matches

by Admin
Sat Dec 16, 2023 2:56 pm
Forum: Technical questions
Topic: selective class member renaming with ObfuscationAttribute
Replies: 2
Views: 2545

Re: selective class member renaming with ObfuscationAttribute

It seems you need something like this:

Code: Select all

[assembly:Obfuscation(Feature = "renaming", Exclude = true)]

[Obfuscation(Feature = "renaming", Exclude = false, ApplyToMembers = true)]
class Foo {
...
by Admin
Sat Dec 16, 2023 12:20 pm
Forum: Technical questions
Topic: Does vmp support method inline/flatten
Replies: 4
Views: 2435

Re: Does vmp support method inline/flatten

When "Main" and "GetInt" were virtualized the "Main" doesn't call native stub of "GetInt", so any patch of "GetInt" with Harmony will not work in this case.
by Admin
Sat Dec 16, 2023 12:15 pm
Forum: Technical questions
Topic: How to use SDK to protect. net programs
Replies: 8
Views: 4837

Re: How to use SDK to protect. net programs

Reference VMProtect.SDK Don't need if you don't use functions from SDK. And add [Obfuscation(Feature = "ultra", Exclude = false)] before the method After compilation, you can still see the source code using ILSpy or dnSpy After loading of your application in VMProtect you will see in the ...
by Admin
Tue Dec 12, 2023 11:30 am
Forum: Technical questions
Topic: Activation code status check
Replies: 1
Views: 2098

Re: Activation code status check

И если да - то будет ли ACTIVATION_BANNED статус означать, что код активации как раз заблокирован? Да. public static function Activate($code, $hwid, $hash) { ... $res = ObjectsSqlLoad("SELECT * FROM {$DB_PREFIX}activations WHERE code=" . Sql($code), "Activation"); if ($res === F...
by Admin
Tue Dec 12, 2023 8:34 am
Forum: Technical questions
Topic: very strange TypeInitializationException
Replies: 1
Views: 2012

Re: very strange TypeInitializationException

Could you send us a very simple example (original binaries + VMP file) that shows your problem?
by Admin
Fri Dec 08, 2023 2:31 am
Forum: Technical questions
Topic: Unable to protect single file in .net 8
Replies: 4
Views: 4026

Re: Unable to protect single file in .net 8

Your published application is just a container with required files of your application, so any modifications of this container will not protect your real code inside it. Just look at your application before publishig - usually it contains 2 files: EXE (required environment to execute dotnet) and DLL...
by Admin
Thu Dec 07, 2023 11:20 am
Forum: Technical questions
Topic: Unable to protect single file in .net 8
Replies: 4
Views: 4026

Re: Unable to protect single file in .net 8

You have to protect your application before publishing.
by Admin
Thu Nov 30, 2023 8:07 am
Forum: Technical questions
Topic: Protected file produced different result.
Replies: 15
Views: 11348

Re: Protected file produced different result.

weloveayaka wrote: Thu Nov 30, 2023 5:42 am Could you please also send the fixed build to ...
Done.
by Admin
Thu Nov 30, 2023 6:27 am
Forum: Technical questions
Topic: VMP DEMO v3.8.5 open EXE file is incorrect
Replies: 4
Views: 3194

Re: VMP DEMO v3.8.5 open EXE file is incorrect

Fixed in the latest build.
by Admin
Thu Nov 30, 2023 4:55 am
Forum: Technical questions
Topic: Protected file produced different result.
Replies: 15
Views: 11348

Re: Protected file produced different result.

weloveayaka wrote: Mon Nov 27, 2023 10:54 pm this also enter wrong catch block
Could you please find another way to avoid this? Alternative way to replace DoNotWrapExceptions?
Please try the 1911 build.
by Admin
Thu Nov 30, 2023 4:54 am
Forum: Technical questions
Topic: BadImageException when override generic type
Replies: 6
Views: 4206

Re: BadImageException when override generic type

weloveayaka wrote: Wed Nov 29, 2023 3:42 pm TargetException when use Nullable Operator
Fixed in the 1911 build.
by Admin
Wed Nov 29, 2023 5:13 pm
Forum: Technical questions
Topic: VMP DEMO v3.8.5 open EXE file is incorrect
Replies: 4
Views: 3194

Re: VMP DEMO v3.8.5 open EXE file is incorrect

Could you send us a test example (original EXE) that shows this error?
by Admin
Wed Nov 29, 2023 10:14 am
Forum: Technical questions
Topic: BadImageException when override generic type
Replies: 6
Views: 4206

Re: BadImageException when override generic type

instance void catch.GenericType`2<0, 1>::A() ("!0" and "!1" are generic parameters): .maxstack 8 newobj 0A000016 → instance void class [mscorlib]System.Collections.Generic.Dictionary`2<!0, !1>::.ctor() // <- here pop ldstr 70000001 → "OK" call 0A000017 → void [mscorlib]...
by Admin
Wed Nov 29, 2023 9:51 am
Forum: Technical questions
Topic: BadImageException when override generic type
Replies: 6
Views: 4206

Re: BadImageException when override generic type

Method with generic parameters can't be virtualized.