angr.exploration_techniques.Tracer() got an unexpected keyword argument 'copy_states'
See original GitHub issueWhen I run shellphuzz
I get the following:
WARNING | 2018-11-28 13:11:27,135 | local_callback | starting drilling of buggy, id:000000,orig:seed-0 Traceback (most recent call last): File "/home/kburova/.virtualenvs/devis/lib/python3.5/site-packages/driller/local_callback.py", line 122, in <module> for new_input in d.drill_generator(): File "/home/kburova/.virtualenvs/devis/lib/python3.5/site-packages/driller/driller_main.py", line 101, in drill_generator for i in self._drill_input(): File "/home/kburova/.virtualenvs/devis/lib/python3.5/site-packages/driller/driller_main.py", line 128, in _drill_input t = angr.exploration_techniques.Tracer(trace=r.trace, crash_addr=r.crash_addr, copy_states=True) TypeError: __init__() got an unexpected keyword argument 'copy_states' (b'', None)
I assume the version of tracer.py
is wrong under angr/exploration_techniques/
. I installed angr using command pip install angr
. When I use python setup.py install
within angr repo folder, I get correct tracer.py
, but then lib/angr_native.so
is missing.
Any suggestions on how to fix all this, and what needs to be installed/reinstalled? Thanks
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Wow, that was easier than I thought. I integrated the above patch slightly differently in https://github.com/angr/angr/commit/31d5bb0c1d787427cdb95fc600619f064309eaa4. This should be resolved now.
I also encountered the same exception
All states disappeared!
. I checked various variables around this code, e.g., step_step() and _update_state_tracking(), and found thatstate.history.jumpkind
indicatesIjk_Exit
. It is not seem to be a critical error/exception. So, I added the following if branch to drop the exception.https://github.com/angr/angr/blob/master/angr/exploration_techniques/tracer.py#L210-L212
BTW, this is an issue of angr not driller…