Skip to content

Conversation

@ElektroKill
Copy link

@ElektroKill ElektroKill commented Jan 14, 2021

Hello,
I've fixed the problems with the Type Scrambler mentioned in issue #244. When protecting the provided file from the issue it now works properly. There were actually three small issues at play here.

  • Checking if the method had a return type was bugged and didn't take into account modifier signatures.
  • Scrambling of "void" causes errors in peverify and thus should probably be skipped.
  • Disabled scrambling of members in the type as C++/CLI modules contain runtime code in that type which is not called using traditional CIL calls which can be easily analyzed. Instead, they are called from outside or by function pointers.

Scrambling members of the global type causes problems in C++/CLI assemblies as some of the methods are called from outside the module or via function pointers.
@AppVeyorBot
Copy link

Build ConfuserEx 663 failed (commit f759796364 by @ElektroKill)

@mkaring mkaring added the bug Something isn't working label Jan 14, 2021
@mkaring mkaring added this to the 1.5 milestone Jan 14, 2021
@mkaring mkaring linked an issue Jan 14, 2021 that may be closed by this pull request
@mkaring mkaring removed a link to an issue Jan 14, 2021
@mkaring mkaring merged commit c029ebe into mkaring:feature/244_fix_antitamper_native_writer Jan 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants