From 51e7c04cbdea309b56939d64b39b85fddb893626 Mon Sep 17 00:00:00 2001 From: Cedric Halbronn Date: Tue, 3 Mar 2020 14:22:17 +0000 Subject: [PATCH] fix #29 --- idarling/core/events.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/idarling/core/events.py b/idarling/core/events.py index ee89e5a..c99f4ae 100644 --- a/idarling/core/events.py +++ b/idarling/core/events.py @@ -1120,11 +1120,11 @@ def __call__(self): ol = ida_hexrays.operand_locator_t(_ol["ea"], _ol["opnum"]) nf = ida_hexrays.number_format_t() nf.flags = _nf["flags"] - nf.opnum = Event.encode(_nf["opnum"]) - nf.props = Event.encode(_nf["props"]) + nf.opnum = _nf["opnum"] + nf.props = _nf["props"] nf.serial = _nf["serial"] - nf.org_nbytes = Event.encode(_nf["org_nbytes"]) - nf.type_name = Event.encode(_nf["type_name"]) + nf.org_nbytes = _nf["org_nbytes"] + nf.type_name = _nf["type_name"] ida_hexrays.user_numforms_insert(numforms, ol, nf) ida_hexrays.save_user_numforms(self.ea, numforms) HexRaysEvent.refresh_pseudocode_view(self.ea)