Add InlinedAllCalls property
This commit is contained in:
parent
8b059bcea7
commit
2c969446b0
|
@ -145,6 +145,7 @@ namespace de4dot.code {
|
|||
List<Block> allBlocks;
|
||||
Blocks blocks;
|
||||
VariableValues variableValues;
|
||||
int errors = 0;
|
||||
|
||||
protected class CallResult {
|
||||
public Block block;
|
||||
|
@ -163,6 +164,10 @@ namespace de4dot.code {
|
|||
}
|
||||
}
|
||||
|
||||
public bool InlinedAllCalls {
|
||||
get { return errors == 0; }
|
||||
}
|
||||
|
||||
public abstract bool HasHandlers { get; }
|
||||
|
||||
protected MethodDefinition Method {
|
||||
|
@ -274,6 +279,7 @@ namespace de4dot.code {
|
|||
Log.w("Could not find all arguments to method {0} ({1:X8})",
|
||||
Utils.removeNewlines(method),
|
||||
method.MetadataToken.ToInt32());
|
||||
errors++;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -323,6 +329,7 @@ namespace de4dot.code {
|
|||
Utils.removeNewlines(method),
|
||||
method.MetadataToken.ToInt32(),
|
||||
instr);
|
||||
errors++;
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue
Block a user