Closed bugfinder-bot closed 1 year ago
The problem is the following statement: rax.al = 0 > zmm0
The left side has the type float
and the right CustomType(bool)
.
Because we only use .al
, we have a cast + type resize which leads to a float-8
as the right side has the size 8.
Code that crashes because we have no representation (__str__
) for the left side which is used by dictionaries.
/cib
Branch issue-277-_KeyError_typing_py_155_KeyError_8 created!
Not really sure if i can do this every time:
lift_set_field
in assignments.py so that the left side has the type of the right side on a downcast.
What happened?
Error class
KeyError@typing.py:155
contains 16 cases.How to reproduce?
sample: fcfadcadb9c559e33619b126dc6166a9ff0115b050c5f592e08fea6da8c5f938 case: https://bugfinder.seclab-bonn.de/case/1627/ dewolf commit: 1c34ffef Binaryninja version:
3.4.4271