summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorAlexander Taylor <alex@vector35.com>2023-07-19 12:42:55 -0400
committerAlexander Taylor <alex@vector35.com>2023-07-20 15:02:24 -0400
commiteb36e3217dfce3d8738a135093110e7406c88449 (patch)
tree000f9ecbb8e8d6307690eb582e07d95d7919f862 /python
parent7dcbf23a4d4da3ac9163ea3738ab2246c4450401 (diff)
Add BNGetDefaultTypeParser API.
Diffstat (limited to 'python')
-rw-r--r--python/typeparser.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/python/typeparser.py b/python/typeparser.py
index 09447987..9bbe2045 100644
--- a/python/typeparser.py
+++ b/python/typeparser.py
@@ -204,8 +204,7 @@ class _TypeParserMetaclass(type):
Get the default parser as specified by the user's settings
:return: Default parser
"""
- name = binaryninja.Settings().get_string("analysis.types.parserName")
- return CoreTypeParser[name]
+ return CoreTypeParser(core.BNGetDefaultTypeParser())
class TypeParser(metaclass=_TypeParserMetaclass):