nevillegrech / gigahorse-toolchain

A binary lifter and analysis framework for Ethereum smart contracts
Other
299 stars 63 forks source link

Improved array support #57

Closed sifislag closed 1 year ago

sifislag commented 1 year ago

The main change of this PR is the introduction of the ArrayCopy relation to the memory modeling API:

/**
  Statement or loop `loc` copies the value of array `from` to array `to`.
*/
.decl ArrayCopy(loc: StatementOrLoop, from: ArrayVariable, to: ArrayVariable)

In addition it includes improved support for calldata arrays, a few tests, and other small changes.