Static Analyzer for Solidity
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
slither/tests/e2e/solc_parsing/test_data/solidity-0.8.24.sol

27 lines
535 B

10 months ago
contract A {
modifier NonReentrant {
assembly {
if tload(0) { revert(0, 0) }
tstore(0, 1)
}
_;
assembly {
tstore(0, 0)
}
}
function a() NonReentrant public {
bytes32 _blobhash = blobhash(2);
uint _blobbasefee = block.blobbasefee;
assembly {
let __blobbasefee := blobbasefee()
let _basefee := basefee()
let __blobhash := blobhash(3)
mcopy(0, 0x40, 0x20)
}
}
}