Split method

This commit is contained in:
de4dot 2012-01-21 22:16:07 +01:00
parent ba04092060
commit fde26c0bd2

View File

@ -638,8 +638,11 @@ namespace de4dot.code.deobfuscators {
public virtual void OnBeforeAddingResources(MetadataBuilder builder) {
}
public void findAndRemoveInlinedMethods() {
var inlinedMethods = InlinedMethodsFinder.find(module);
protected void findAndRemoveInlinedMethods() {
removeInlinedMethods(InlinedMethodsFinder.find(module));
}
protected void removeInlinedMethods(List<MethodDefinition> inlinedMethods) {
addMethodsToBeRemoved(new UnusedMethodsFinder(module, inlinedMethods, getRemovedMethods()).find(), "Inlined method");
}