Consistently getting KeyError: 'minopsz'
xxdesmus opened this issue · comments
Hi there,
Thank you for sharing this amazing project. I set things up, and when I try to analyze any sample I always get the same KeyError: 'minopsz' error.
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/celery/app/trace.py", line 405, in trace_task
R = retval = fun(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/celery/app/trace.py", line 697, in __protected_call__
return self.run(*args, **kwargs)
File "/home/lisa/lisa/web_api/tasks.py", line 80, in full_analysis
master.run()
File "/home/lisa/lisa/analysis/top_level.py", line 69, in run
sub_output = analyzer.run_analysis()
File "/home/lisa/lisa/analysis/static_analysis.py", line 34, in run_analysis
self._r2_info()
File "/home/lisa/lisa/analysis/static_analysis.py", line 62, in _r2_info
'min_opsize': info['bin']['minopsz'],
KeyError: 'minopsz'
am I missing something obvious?
currently having the same issue. I tried the solution mentioned here but its not working. The "Key Error: minopsz" is gone but I see no analysis on the web interface and no report is generated for the sample.
Yep same here
https://github.com/danieluhricek/LiSa/blob/897fc5133e368273f5fd78339f72a5c3c1e490ce/lisa/analysis/static_analysis.py#L30
drop ["-2"]
and with @AlbertoFDR solution.
it works.
radare2 v5.5.0
Oh this actually worked. Thank You so much.
Also having this problem, please help