Rename method
This commit is contained in:
parent
bf0f136ec9
commit
a35c765f15
|
@ -273,7 +273,7 @@ namespace de4dot.code.deobfuscators.CodeVeil {
|
||||||
addTypeToBeRemoved(proxyDelegateFinder.MethodInfoType, "Obfuscator proxy method MethodInfo type");
|
addTypeToBeRemoved(proxyDelegateFinder.MethodInfoType, "Obfuscator proxy method MethodInfo type");
|
||||||
}
|
}
|
||||||
|
|
||||||
addMethodsToBeRemoved(InvalidMethodsFinder.findInvalidMethods(module), "Anti-reflection method");
|
addMethodsToBeRemoved(InvalidMethodsFinder.findAll(module), "Anti-reflection method");
|
||||||
|
|
||||||
base.deobfuscateEnd();
|
base.deobfuscateEnd();
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,7 +22,7 @@ using Mono.Cecil;
|
||||||
|
|
||||||
namespace de4dot.code.deobfuscators.CodeVeil {
|
namespace de4dot.code.deobfuscators.CodeVeil {
|
||||||
class InvalidMethodsFinder {
|
class InvalidMethodsFinder {
|
||||||
public static List<MethodDefinition> findInvalidMethods(ModuleDefinition module) {
|
public static List<MethodDefinition> findAll(ModuleDefinition module) {
|
||||||
var list = new List<MethodDefinition>();
|
var list = new List<MethodDefinition>();
|
||||||
foreach (var type in module.GetTypes()) {
|
foreach (var type in module.GetTypes()) {
|
||||||
foreach (var method in type.Methods) {
|
foreach (var method in type.Methods) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user