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
When inputting the following subsection of LibString.sol into Chisel, memory !md and stack !sd dumps are not functional.
This appears to happen any time a variable is declared in the run function but not initialized where !md and !sd will report erroneously that the function is empty.
The text was updated successfully, but these errors were encountered:
chisel
uint256 value = 12345;
string memory str;
assembly {
str := add(mload(0x40), 0x80)
mstore(0x40, add(str, 0x20))
mstore(str, 0)
let end := str
}
zerosnacks
changed the title
memory and stack dumps break for assembly block in chisel
In Chisel memory and stack dumps break for assembly block ending with letJul 2, 2024
Component
Chisel
Have you ensured that all of these are up to date?
What version of Foundry are you on?
chisel 0.1.1 (58a2729 2023-05-15T00:04:42.785499234Z)
What command(s) is the bug in?
No response
Operating System
Linux
Describe the bug
When inputting the following subsection of LibString.sol into Chisel, memory
!md
and stack!sd
dumps are not functional.This appears to happen any time a variable is declared in the
run
function but not initialized where!md
and!sd
will report erroneously that the function is empty.The text was updated successfully, but these errors were encountered: