Skip to content

Commit

Permalink
CryptoObfuscator: Fix an issue on GetProxyCreateMethod, not find dele…
Browse files Browse the repository at this point in the history
…gate creator and proxy call fixer is not activated.
  • Loading branch information
etmatrix committed Jan 27, 2019
1 parent 86fcc65 commit 8c5d2b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public void FindDelegateCreator() {
MethodDef GetProxyCreateMethod(TypeDef type) {
if (DotNetUtils.FindFieldType(type, "System.ModuleHandle", true) == null)
return null;
if (type.Fields.Count < 1 || type.Fields.Count > 20)
if (type.Fields.Count < 1 || type.Fields.Count > 22)
return null;

MethodDef createMethod = null;
Expand Down

0 comments on commit 8c5d2b0

Please sign in to comment.