Confuser.Protections.HoLLy
Confuser.Protections.HoLLy copied to clipboard
Fix type marking in MemoryEditInjectPhase
Calling name.Analyze on one of the types returned from the type injection results in a null reference exception somewhere in VTable analyzer code.
I just realized that you shouldn't be renaming an override methods, which ToString()
is. I'll have to add a check and only rename non-overrides.
While I'm at it, I shouldn't be injecting the ToString()
method in the first place on non-debug builds, so I'll have to put it in an #if DEBUG
directive.
Ignoring all virtual & public methods should fix it, but it reveals another issue: ConfuserEx doesn't seem to update the references to renamed fields/properties.