mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
21 lines
333 B
Plaintext
21 lines
333 B
Plaintext
{
|
|
mstore(0x40, memoryguard(0))
|
|
let $x := 0
|
|
sstore(0, $x)
|
|
function h($hx) -> y {
|
|
y := $hx
|
|
}
|
|
sstore(1, h(32))
|
|
}
|
|
// ----
|
|
// step: fakeStackLimitEvader
|
|
//
|
|
// {
|
|
// mstore(0x40, memoryguard(0x40))
|
|
// mstore(0x00, 0)
|
|
// sstore(0, mload(0x00))
|
|
// function h($hx) -> y
|
|
// { y := $hx }
|
|
// sstore(1, h(32))
|
|
// }
|