usyd-blockchain / vandal

Static program analysis framework for Ethereum smart contract bytecode.
BSD 3-Clause "New" or "Revised" License
161 stars 39 forks source link

Flag to allow widening to carry over between dataflow rounds #25

Open zyzek opened 6 years ago

zyzek commented 6 years ago

Currently all stacks and variables are purged of their values at the start of each new dataflow round. It would be nice to be able to purge the unwidened values, but not purge the widened ones. The CFG should store inside itself which variables have previously been widened and optionally force their values to Top in future dataflow analyses.