summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2019-03-13 11:14:11 -0400
committerRusty Wagner <rusty@vector35.com>2019-03-20 12:58:42 -0400
commit290ce35e6e1091b52e03257fb38b41f1a2c82665 (patch)
tree2906769186c20ac0e18171be7ff7a2745670146d
parentd399a3088059714eb0d9e0a131274e46eca44a6f (diff)
Add faster analysis modes
-rw-r--r--binaryninjacore.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h
index 00163b92..39f39982 100644
--- a/binaryninjacore.h
+++ b/binaryninjacore.h
@@ -208,6 +208,7 @@ extern "C"
FunctionReturn = 4,
SystemCall = 5,
IndirectBranch = 6,
+ ExceptionBranch = 7,
UnresolvedBranch = 127
};
@@ -1648,6 +1649,13 @@ extern "C"
size_t count, total;
};
+ enum BNAnalysisMode
+ {
+ FullAnalysisMode,
+ BasicAnalysisMode,
+ ControlFlowAnalysisMode
+ };
+
struct BNAnalysisParameters
{
uint64_t maxAnalysisTime;
@@ -1656,6 +1664,8 @@ extern "C"
size_t maxFunctionUpdateCount;
size_t maxFunctionSubmitCount;
bool suppressNewAutoFunctionAnalysis;
+ BNAnalysisMode mode;
+ bool alwaysAnalyzeIndirectBranches;
};
struct BNDownloadInstanceOutputCallbacks
@@ -1958,7 +1968,8 @@ extern "C"
ExceedFunctionSizeSkipReason,
ExceedFunctionAnalysisTimeSkipReason,
ExceedFunctionUpdateCountSkipReason,
- NewAutoFunctionAnalysisSuppressedReason
+ NewAutoFunctionAnalysisSuppressedReason,
+ BasicAnalysisSkipReason
};
enum BNSettingsScope