diff options
Diffstat (limited to 'python/function.py')
| -rw-r--r-- | python/function.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/python/function.py b/python/function.py index 6d20359a..be669002 100644 --- a/python/function.py +++ b/python/function.py @@ -2454,6 +2454,14 @@ class Function: type_id = core.BNGetIntegerConstantDisplayTypeEnumerationType(self.handle, arch.handle, instr_addr, value, operand) return display_type, type_id + def analyze(self) -> None: + """ + ``analyze`` causes this function to be analyzed if it's out of date. This function does not wait for the analysis to finish. + + :rtype: None + """ + core.BNAnalyzeFunction(self.handle) + def reanalyze(self, update_type: FunctionUpdateType = FunctionUpdateType.UserFunctionUpdate) -> None: """ ``reanalyze`` causes this function to be reanalyzed. This function does not wait for the analysis to finish. |
