Open mrx23dot opened 2 years ago
Oyente seems to return exit code 1
if a vulnerability is found, and 0
if none is detected. So the behavior you observe seems to be by design, not by error.
yeah, but if gcc would give non zero exit code on any warning none of the toolchains would work.
Running
python /oyente/oyente/oyente.py --compilation-error -s /home/test.txt -b
test.txtgives return value of 1 not 0, but result is valid:
echo $?
oyente version 0.2.7 - Commonwealth