Update detection of invalid CV methods
This commit is contained in:
parent
989e364481
commit
e8155e7eb0
|
@ -39,6 +39,8 @@ namespace de4dot.code.deobfuscators.CodeVeil {
|
||||||
var sig = method.MethodSig;
|
var sig = method.MethodSig;
|
||||||
if (sig == null || sig.Params.Count != 0)
|
if (sig == null || sig.Params.Count != 0)
|
||||||
return false;
|
return false;
|
||||||
|
if (sig.RetType == null)
|
||||||
|
return true;
|
||||||
var retType = sig.RetType as GenericSig;
|
var retType = sig.RetType as GenericSig;
|
||||||
if (retType == null)
|
if (retType == null)
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user