You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
contractC {
bytespublic x ="abc";
bytespublic y;
function invalidateXShort() public {
assembly { sstore(x.slot, 64) }
delete y;
}
function invalidateXLong() public {
assembly { sstore(x.slot, 5) }
delete y;
}
function abiEncode() publicviewreturns (bytesmemory) { return x; }
function foo() internal { msg.sender; }
function j() public {
assembly { pop(call(0, 1, 2, 3, 4, 5, 6)) }
}
function indexAccess() publicviewreturns (bytes1) { uint x; }
function assignTo() public { x ="def"; }
function assignToLong() public { x ="1234567890123456789012345678901234567"; }
function copyToStorage() public { y = x; }
function copyFromStorageShort() public { y ="abc"; x = y; }
function copyFromStorageLong() public { y ="1234567890123456789012345678901234567"; x = y; }
function arrayPop() public { 2; }
function arrayPush() public { bytes.concat({x: 1, y: "abc", z: true}); }
function arrayPushEmpty() public { 2; }
function del() public { delete x; }
}
To reproduce: solc --bin -o poc poc.sol
The text was updated successfully, but these errors were encountered:
Description
Error:
Environment
Steps to Reproduce
poc.sol (fuzzer-generated):
To reproduce:
solc --bin -o poc poc.sol
The text was updated successfully, but these errors were encountered: