From 05ab290f7326323567e6b863e451cfe2e4ceba4b Mon Sep 17 00:00:00 2001 From: Aidan Hobson Sayers Date: Tue, 20 Jan 2015 19:50:31 +0000 Subject: [PATCH] Set _detail in a dummy Cs, closes #251 --- bindings/python/capstone/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bindings/python/capstone/__init__.py b/bindings/python/capstone/__init__.py index c35a7ba5..5e5626e7 100644 --- a/bindings/python/capstone/__init__.py +++ b/bindings/python/capstone/__init__.py @@ -330,6 +330,7 @@ class _dummy_cs(object): def __init__(self, csh, arch): self.csh = csh self.arch = arch + self._detail = False # Quick & dirty Python function to disasm raw binary code