proj = angr.Project('/bin/true') should hopefully be able to complete.
Actual behavior
Some thread exception seems to happen when run from the r2 shell line. However, if I #!python and do it from there it works fine.
Steps to reproduce the behavior
Example base:
import r2lang
import sys
import angr, claripy
from time import sleep
class R2Symbion(object):
def _call(self, s):
s = s.lower()
# Not for us
if not s.startswith('symb'):
return
print('doing it')
p = angr.Project(r2.cmdj('ij')['core']['file'])
def plugin(self, a):
return {
"name": "R2Symbion",
"licence": "GPLv3",
"desc": "Integration plugin for angr Symbion.",
"call": self._call,
}
r2symb = R2Symbion()
success = r2lang.plugin("core", r2symb.plugin)
This gives an exception:
r2 -i ./base.py /bin/ls
symb # doesn't actually do anything
exit # Shows the thread error
Exception ignored in: <module 'threading' from '/usr/lib/python3.6/threading.py'>
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 1289, in _shutdown
assert tlock.locked()
SystemError: <built-in method locked of _thread.lock object at 0x7fa0a989bd78> returned a result with an error set
Work environment
Expected behavior
proj = angr.Project('/bin/true')
should hopefully be able to complete.Actual behavior
Some thread exception seems to happen when run from the r2 shell line. However, if I #!python and do it from there it works fine.
Steps to reproduce the behavior
Example base:
This gives an exception:
However, this works
!python3
Additional Logs, screenshots, source-code, configuration dump, ...