Open
Description
Description
Right now we have a module mythril.solidity
. A new module is needed called mythril.lang
which should contain the before mentioned module.
This module should also contain a base abstract class BaseContract, which is inherited by SolidityContract.
Requirements
-
mythril.solidity
is moved tomythril.lang.solidity
- BaseContract is implemented and Extended by Solidity
- Implement
mythril.lang.viper
and ViperContract. Which would be the equivalent of SolidityContract but for viper -
myth -x ./contract.vy
analyzes the viper contract like it would have a solidity contract
Useful Info:
The following link describes how to use the vyper compiler to get some relevant fields
https://vyper.readthedocs.io/en/latest/compiling-a-contract.html