summaryrefslogtreecommitdiff
path: root/python/lineardisassembly.py
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2020-02-24 19:42:56 -0500
committerRusty Wagner <rusty@vector35.com>2020-04-17 14:20:41 -0400
commitefa3a367885c9510bb6280788241dae6f48a42bb (patch)
tree0716040a049199e664d4b0d130280729d4b9310e /python/lineardisassembly.py
parent1a73fb21cea559e8da2cabb43176b0f183a937ee (diff)
Adding SSA support for HLIL
Diffstat (limited to 'python/lineardisassembly.py')
-rw-r--r--python/lineardisassembly.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/python/lineardisassembly.py b/python/lineardisassembly.py
index 10124bad..4435acdc 100644
--- a/python/lineardisassembly.py
+++ b/python/lineardisassembly.py
@@ -306,6 +306,12 @@ class LinearViewObject(object):
settings = settings.handle
return LinearViewObject(core.BNCreateLinearViewHighLevelIL(view.handle, settings))
+ @classmethod
+ def hlil_ssa_form(cls, view, settings = None):
+ if settings is not None:
+ settings = settings.handle
+ return LinearViewObject(core.BNCreateLinearViewHighLevelILSSAForm(view.handle, settings))
+
class LinearViewCursor(object):
def __init__(self, root_object, handle = None):