You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to run your fuzzer, but there are some errors. I think almost errors are occured by version issue. I runned mips_test.py in examples directory.
File "/home/loca/firmcorn2/FIRMCORN-V2/examples/../firmcorn.py", line 346, in set_memory
self.mem_write(seg_start, '\x00' * (seg_end - seg_start))
File "/home/loca/.local/lib/python3.10/site-packages/unicorn/unicorn.py", line 584, in mem_write
status = _uc.uc_mem_write(self._uch, address, data, len(data))
ctypes.ArgumentError: argument 3: TypeError: wrong type
in firmcorn.py, it contains only 2 arguments for mem_write, but uc_mem_write in unicorn.py, requires 4 argument. the unicorn version is 2.0.1(post). What argument can be added for third, fourth argument(data, len(data))?
The text was updated successfully, but these errors were encountered:
I wanted to run your fuzzer, but there are some errors. I think almost errors are occured by version issue. I runned mips_test.py in examples directory.
in firmcorn.py, it contains only 2 arguments for mem_write, but uc_mem_write in unicorn.py, requires 4 argument. the unicorn version is 2.0.1(post). What argument can be added for third, fourth argument(data, len(data))?
The text was updated successfully, but these errors were encountered: