diff options
| author | Rusty Wagner <rusty@vector35.com> | 2016-08-30 19:30:43 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2016-08-30 19:30:43 -0400 |
| commit | 827662fbb6caa9d0aa3089cafb20a578a68eaee7 (patch) | |
| tree | ef994eec388aafbc71266a70d4b6dd3f07714e54 /function.cpp | |
| parent | e878199be4a74c880acd5d38c33965b47d7630d0 (diff) | |
Add API to determine if a function still has analysis updates to complete
Diffstat (limited to 'function.cpp')
| -rw-r--r-- | function.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/function.cpp b/function.cpp index 27193992..78a33bda 100644 --- a/function.cpp +++ b/function.cpp @@ -72,6 +72,12 @@ bool Function::HasExplicitlyDefinedType() const } +bool Function::NeedsUpdate() const +{ + return BNIsFunctionUpdateNeeded(m_object); +} + + vector<Ref<BasicBlock>> Function::GetBasicBlocks() const { size_t count; |
