diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/binaryview.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/python/binaryview.py b/python/binaryview.py index 4f146adc..179d0d21 100644 --- a/python/binaryview.py +++ b/python/binaryview.py @@ -1321,6 +1321,16 @@ class BinaryView(object): return core.BNHasFunctions(self.handle) @property + def has_symbols(self): + """Boolean whether the binary has symbols (read-only)""" + return core.BNHasSymbols(self.handle) + + @property + def has_data_variables(self): + """Boolean whether the binary has functions (read-only)""" + return core.BNHasDataVariables(self.handle) + + @property def entry_function(self): """Entry function (read-only)""" func = core.BNGetAnalysisEntryPoint(self.handle) |
