nevillegrech / gigahorse-toolchain

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

3-address code bug #73

Closed t0hka1 closed 1 year ago

t0hka1 commented 1 year ago

For this contract(https://sepolia.etherscan.io/address/0xafcb3200627b921da0e3c1aa6acbea24b45168d1#code), there is an error in the starting position of the 3-address code block image

sifislag commented 1 year ago

Hi, what is the error?

t0hka1 commented 1 year ago

It is easy to see from the above picture that the successor address of this basic block should be 0xed8, but here it is 0xed8B0xf7,I'm confused about it.

sifislag commented 1 year ago

In a few places in our pipeline we transform our input or IR:

Whenever a block is cloned we change its identifier. Would it help if we add information about the original block id?

sifislag commented 1 year ago

Closing due to inactivity.