Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

UnicodeDecodeError: 'utf-8' codec can't decode byte in UserLvarSettingsEvent() or UserNumformsEvent() #61

Open
saidelike opened this issue Jun 17, 2020 · 0 comments

Comments

@saidelike
Copy link
Collaborator

[idarling][DEBUG] Saved netnode: group=XXX, project=YYY, database=ZZZ, tick=57
[idarling][DEBUG] Sending packet: UserLvarSettingsEvent(ea=1980819965, lvar_settings={'lvvec': [{'ll': {'location': {'atype': 3, 'reg1': 20, 'reg2': 0, 'stkoff': 20, 'ea': 20}, 'defea': 1980820020}, 'name': 'wsx_funcs', 'type': ('\n=\x04#\x85B', None, None, '\x80\x03]q\x00(K\n}q\x01X\n\x00\x00\x00local_typeq\x02X\r\x00\x00\x00WSX_FUNCTIONSq\x03se.'), 'cmt': '', 'flags': 0}, {'ll': {'location': {'atype': 1, 'reg1': 32, 'reg2': 0, 'stkoff': 32, 'ea': 32}, 'defea': 1980819996}, 'name': 'hLib', 'type': (None, None, None, None), 'cmt': '', 'flags': 0}], 'lmaps': [({'location': {'atype': 3, 'reg1': 36, 'reg2': 0, 'stkoff': 36, 'ea': 36}, 'defea': 1980819973}, {'location': {'atype': 1, 'reg1': 32, 'reg2': 0, 'stkoff': 32, 'ea': 32}, 'defea': 1980819965})], 'stkoff_delta': 12, 'ulv_flags': 1})
[idarling][DEBUG] Saved netnode: group=XXX, project=YYY, database=ZZZ, tick=58
[idarling][DEBUG] Sending packet: UserNumformsEvent(ea=1980819965, numforms=[({'ea': 1980820040, 'opnum': 0}, {'flags': 35651584, 'opnum': '\x00', 'props': '\x01', 'serial': 0, 'org_nbytes': '\x00', 'type_name': ''})])
[idarling][DEBUG] postprocess_action()
[idarling][DEBUG] preprocess_action(name = Return). ea = 0x7610EA70.
[idarling][DEBUG] postprocess_action()
[idarling][DEBUG] preprocess_action(name = hx:StrucOffset). ea = 0x7610EC76.
Exception in ida_hexrays.Hexrays_Hooks dispatcher function: SWIG director method error. Error detected when calling 'Hexrays_Hooks.func_printed'
Traceback (most recent call last):
  File "C:\Program Files\IDA Pro 7.5\python\3\ida_hexrays.py", line 25998, in func_printed
    def func_printed(self, *args): return self.callback(hxe_func_printed, *args)
  File "C:/Users/User/AppData/Roaming/Hex-Rays/IDA Pro/plugins\idarling\core\hooks.py", line 672, in _hxe_callback
    self._send_user_numforms(func.start_ea)
  File "C:/Users/User/AppData/Roaming/Hex-Rays/IDA Pro/plugins\idarling\core\hooks.py", line 854, in _send_user_numforms
    numforms = HexRaysHooks._get_user_numforms(ea)
  File "C:/Users/User/AppData/Roaming/Hex-Rays/IDA Pro/plugins\idarling\core\hooks.py", line 831, in _get_user_numforms
    HexRaysHooks._get_number_format(nf),
  File "C:/Users/User/AppData/Roaming/Hex-Rays/IDA Pro/plugins\idarling\core\hooks.py", line 850, in _get_number_format
    "type_name": nf.type_name,
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x85 in position 1: invalid start byte
Exception in ida_hexrays.Hexrays_Hooks dispatcher function: SWIG director method error. Error detected when calling 'Hexrays_Hooks.func_printed'
Traceback (most recent call last):
  File "C:\Program Files\IDA Pro 7.5\python\3\ida_hexrays.py", line 25998, in func_printed
    def func_printed(self, *args): return self.callback(hxe_func_printed, *args)
  File "C:/Users/User/AppData/Roaming/Hex-Rays/IDA Pro/plugins\idarling\core\hooks.py", line 672, in _hxe_callback
    self._send_user_numforms(func.start_ea)
  File "C:/Users/User/AppData/Roaming/Hex-Rays/IDA Pro/plugins\idarling\core\hooks.py", line 854, in _send_user_numforms
    numforms = HexRaysHooks._get_user_numforms(ea)
  File "C:/Users/User/AppData/Roaming/Hex-Rays/IDA Pro/plugins\idarling\core\hooks.py", line 831, in _get_user_numforms
    HexRaysHooks._get_number_format(nf),
  File "C:/Users/User/AppData/Roaming/Hex-Rays/IDA Pro/plugins\idarling\core\hooks.py", line 850, in _get_number_format
    "type_name": nf.type_name,
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x85 in position 1: invalid start byte
[idarling][DEBUG] postprocess_action()
[idarling][DEBUG] preprocess_action(name = EditCopy). ea = 0x7610EC76.
[idarling][DEBUG] postprocess_action()
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant