From aae6c3aecdb04e8a6e33799287737a33a634418d Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Mon, 9 Jan 2017 21:58:55 -0500 Subject: Wrapping some unwrapped enumeration values, and adding il basic block indexing --- python/architecture.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/architecture.py') 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 -- cgit v1.3.1