ityfuzz icon indicating copy to clipboard operation
ityfuzz copied to clipboard

bug: CMP_MAP polluted by contract setup deployer

Open plotchy opened this issue 1 year ago • 0 comments
trafficstars

While testing corpus additions on better comparisons I found that CMP_MAP is getting polluted by the contract deployers.

Since step in the Host is used during contract setup and deployment, the CMP_MAP gets values stored that aren't related to the fuzzing campaign.

This shouldnt happen before any fuzz tests are ran

https://github.com/fuzzland/ityfuzz/blob/b9342a0425273565516851726cf2cce1d0d9ab13/src/evm/host.rs#L1058-L1062

plotchy avatar May 15 '24 16:05 plotchy