Remove unused methods, and inline method used only by SA code
This commit is contained in:
parent
ade1720d32
commit
8ff2115083
|
@ -488,14 +488,6 @@ namespace de4dot.deobfuscators {
|
|||
addTypesToBeRemoved(proxyDelegateFinder.DelegateCreatorTypes, "Proxy delegate creator type");
|
||||
}
|
||||
|
||||
protected TypeDefinition getModuleType() {
|
||||
return DotNetUtils.getModuleType(module);
|
||||
}
|
||||
|
||||
protected TypeDefinition getType(TypeReference typeReference) {
|
||||
return DotNetUtils.getType(module, typeReference);
|
||||
}
|
||||
|
||||
protected Resource getResource(IEnumerable<string> strings) {
|
||||
return DotNetUtils.getResource(module, strings);
|
||||
}
|
||||
|
|
|
@ -257,7 +257,7 @@ namespace de4dot.deobfuscators.SmartAssembly {
|
|||
}
|
||||
|
||||
bool hasModuleCctor() {
|
||||
var type = getModuleType();
|
||||
var type = DotNetUtils.getModuleType(module);
|
||||
if (type == null)
|
||||
return false;
|
||||
return DotNetUtils.getMethod(type, ".cctor") != null;
|
||||
|
|
Loading…
Reference in New Issue
Block a user