diff options
| author | Brian Potchik <brian@vector35.com> | 2021-04-20 10:52:07 -0400 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2021-04-20 10:52:07 -0400 |
| commit | 78b7800b6806ed16929bd184f24ed431ab8eb457 (patch) | |
| tree | bf0149b96c0c81bdaa5f4df0190228a793b401f3 | |
| parent | 283f206c241ff5ede6ec908c412a4f65fe4bb954 (diff) | |
Add InitialState to Analysis.
| -rw-r--r-- | binaryninjacore.h | 1 | ||||
| -rw-r--r-- | python/binaryview.py | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h index 0115eecf..5f851591 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -2078,6 +2078,7 @@ extern "C" enum BNAnalysisState { + InitialState, IdleState, DisassembleState, AnalyzeState, diff --git a/python/binaryview.py b/python/binaryview.py index 2af37321..bf07a3ad 100644 --- a/python/binaryview.py +++ b/python/binaryview.py @@ -392,7 +392,9 @@ class AnalysisProgress(object): return "Analyzing (%d/%d)" % (self._count, self._total) if self._state == AnalysisState.ExtendedAnalyzeState: return "Extended Analysis" - return "Idle" + if self._state == AnalysisState.IdleState: + return "Idle" + return "Initial" def __repr__(self): return "<progress: %s>" % str(self) |
