diff options
| author | Rusty Wagner <rusty@vector35.com> | 2019-07-23 22:40:39 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2020-04-17 14:20:35 -0400 |
| commit | 203717232e816d42973f05f1c9fbc950914d71dc (patch) | |
| tree | 71b1316a95417ea36147230faf4aa7c44556ea0a /python/lineardisassembly.py | |
| parent | 072c5cd6eee7af9671e6c4fe583e77bc3bcbdd1d (diff) | |
Early HLIL testing
Diffstat (limited to 'python/lineardisassembly.py')
| -rw-r--r-- | python/lineardisassembly.py | 6 |
1 files changed, 6 insertions, 0 deletions
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): |
