From 203717232e816d42973f05f1c9fbc950914d71dc Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Tue, 23 Jul 2019 22:40:39 -0400 Subject: Early HLIL testing --- python/lineardisassembly.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'python/lineardisassembly.py') diff --git a/python/lineardisassembly.py b/python/lineardisassembly.py index ec213a19..10124bad 100644 --- a/python/lineardisassembly.py +++ b/python/lineardisassembly.py @@ -300,6 +300,12 @@ class LinearViewObject(object): settings = settings.handle return LinearViewObject(core.BNCreateLinearViewMappedMediumLevelILSSAForm(view.handle, settings)) + @classmethod + def hlil(cls, view, settings = None): + if settings is not None: + settings = settings.handle + return LinearViewObject(core.BNCreateLinearViewHighLevelIL(view.handle, settings)) + class LinearViewCursor(object): def __init__(self, root_object, handle = None): -- cgit v1.3.1