summaryrefslogtreecommitdiff
path: root/python/architecture.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2017-01-09 21:58:55 -0500
committerPeter LaFosse <peter@vector35.com>2017-01-09 21:58:55 -0500
commitaae6c3aecdb04e8a6e33799287737a33a634418d (patch)
treed9812259f3ce96123b3310f9ee332e8dc34ab643 /python/architecture.py
parent9d1cac8ee55553cdb20c36deb3b15c9219b02d9b (diff)
Wrapping some unwrapped enumeration values, and adding il basic block indexing
Diffstat (limited to 'python/architecture.py')
-rw-r--r--python/architecture.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/architecture.py b/python/architecture.py
index c95c71a0..f1440ca3 100644
--- a/python/architecture.py
+++ b/python/architecture.py
@@ -176,7 +176,7 @@ class Architecture(object):
self._flag_roles = {}
self.__dict__["flag_roles"] = {}
for flag in self.__dict__["flags"]:
- role = core.BNGetArchitectureFlagRole(self.handle, self._flags[flag])
+ role = FlagRole(core.BNGetArchitectureFlagRole(self.handle, self._flags[flag]))
self.__dict__["flag_roles"][flag] = role
self._flag_roles[self._flags[flag]] = role