summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2017-05-14 09:41:28 -0400
committerPeter LaFosse <peter@vector35.com>2017-05-14 10:11:50 -0400
commit2111f1f77241c938b30bd3cf2851919094429dd6 (patch)
treea0201812b8409528b64549295b1fed6bad19e93b /python
parent12d16ae11dd2c0524a36c59c5b025c38edb4135b (diff)
Expose some core API's for the demangling and type creation
Diffstat (limited to 'python')
-rw-r--r--python/demangle.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/demangle.py b/python/demangle.py
index ed38674a..2a17cdfd 100644
--- a/python/demangle.py
+++ b/python/demangle.py
@@ -48,8 +48,8 @@ def demangle_ms(arch, mangled_name):
:param Architecture arch: Architecture for the symbol. Required for pointer and integer sizes.
:param str mangled_name: a mangled Microsoft Visual Studio C++ name
- :return: returns a Type object for the mangled name
- :rtype: Type
+ :return: returns tuple of (Type, demangled_name) or (None, mangled_name) on error
+ :rtype: Tuple
:Example:
>>> demangle_ms(Architecture["x86_64"], "?testf@Foobar@@SA?AW4foo@1@W421@@Z")