eth-sri / securify2

Securify v2.0
Apache License 2.0
586 stars 136 forks source link

Smartcontracts with imports don´t work #4

Open ARR552 opened 4 years ago

ARR552 commented 4 years ago

Hello, I am trying to analyze some smart contracts and i am not able to analyze them if they use imports. I attached a screenshot with the error of ERC165. Any idea of what i am doing wrong??? Or imports are not supported yet. image

Thank you

YannisSach commented 4 years ago

Hello, Currently, Securify does not support the import statement. Thank you for pointing that out. I have updated the README so that this is explicit. Just for future reference, the error you are getting comes from the solidity compiler which cannot find the ERC165.sol file. Since you are using docker, the import path should be changed to import /share/ERC165.sol so Docker can find it.