summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Wiens <jordan@psifertex.com>2017-05-09 23:03:17 -0400
committerJordan Wiens <jordan@psifertex.com>2017-05-09 23:03:17 -0400
commiteaeecf37a582894dd614e2ac4e56c35575af95a0 (patch)
treeef4d7fae4d46e80f499f177e034cf481d1f65927
parent48691ea74855a919245ea5dc173ef7f9a82c47a7 (diff)
add warnings for duplicate symbols
-rw-r--r--python/binaryview.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/python/binaryview.py b/python/binaryview.py
index 042c08f5..09537a16 100644
--- a/python/binaryview.py
+++ b/python/binaryview.py
@@ -2145,6 +2145,8 @@ class BinaryView(object):
"""
``define_auto_symbol`` adds a symbol to the internal list of automatically discovered Symbol objects.
+ .. 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
:rtype: None
"""
@@ -2154,6 +2156,8 @@ class BinaryView(object):
"""
``define_auto_symbol_and_var_or_function``
+ .. 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
:param Platform plat: (optional) platform
@@ -2180,6 +2184,8 @@ class BinaryView(object):
"""
``define_user_symbol`` adds a symbol to the internal list of user added Symbol objects.
+ .. 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
:rtype: None
"""