diff options
| author | Calle Svensson <calle.svensson@zeta-two.com> | 2021-01-23 21:50:06 +0100 |
|---|---|---|
| committer | Jordan <github@psifertex.com> | 2021-01-23 17:28:44 -0500 |
| commit | 9d32db1049d03841513039bf49c1948542ed4211 (patch) | |
| tree | f435dcaec77a0f206dd96b44091f1df4f577fbc9 /python | |
| parent | 1dbcc4f54433ec1e4ccaf3d658256d619cd610cc (diff) | |
Changed SymbolType to Type in define_auto_symbol_and_var_or_function documentation
Diffstat (limited to 'python')
| -rw-r--r-- | python/binaryview.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/binaryview.py b/python/binaryview.py index fdc5ec27..40a4ebf2 100644 --- a/python/binaryview.py +++ b/python/binaryview.py @@ -3668,7 +3668,7 @@ class BinaryView(object): .. warning:: If multiple symbols for the same address are defined, only the most recent symbol will ever be used. :param Symbol sym: the symbol to define - :param SymbolType sym_type: Type of symbol being defined (can be None) + :param Type sym_type: Type of symbol being defined (can be None) :param Platform plat: (optional) platform :rtype: None """ @@ -3680,7 +3680,7 @@ class BinaryView(object): if isinstance(sym_type, binaryninja.Type): sym_type = sym_type.handle elif sym_type is not None: - raise AttributeError("Provided sym_type is not of type `binaryninja.SymbolType`") + raise AttributeError("Provided sym_type is not of type `binaryninja.Type`") core.BNDefineAutoSymbolAndVariableOrFunction(self.handle, plat.handle, sym.handle, sym_type) |
