eth-sri / ilf

AI based fuzzer based on imitation learning
Apache License 2.0
149 stars 32 forks source link

Update reentrancy.py #9

Closed renardbebe closed 3 years ago

renardbebe commented 4 years ago

During test, I have found some false positives with send and transfer method, which are safe from re-entrancy vulnerability. So I add the constraint, the gas value of CALL op should be positive integer, to eliminate these warnings.

Please feel free to merge this pr. This modification is safe for the whole project.