nevillegrech / gigahorse-toolchain

A binary lifter and analysis framework for Ethereum smart contracts
Other
295 stars 61 forks source link

Better mapping to original bytecode statements + Flow API change #59

Closed sifislag closed 1 year ago

sifislag commented 1 year ago

Introduced a few different ways to better map from our TAC statements to source:

In addition, the Flows components APIs were changed, moving from defining TransferOp(op: Opcode) as input to TransferStmt(stmt: Statement). This allows us to define more fine-grained data-flow analyses as demonstrated in constantOpFlows.