Closed moodlezoup closed 1 week ago
Hey! Can I take this up?
Yeah go for it!
@ameya-deshmukh Any update here?
Hey @moodlezoup! Sorry, couldn't find time to work on this. Can I grind this out over the weekend and give you an update by early Monday ET?
Yeah that'd be great! Lmk if you need any pointers
@ameya-deshmukh @moodlezoup I would like to have a try if you fine with that
Hey @4rgon4ut sure! I didn't get the time to work on this issue, all yours to take
@moodlezoup I have two questions:
tracer/src/emulator/cpu.rs
is the right place to add related tests?@moodlezoup I have two questions:
- Would you like it to be panics with specified messages (based on the case) or new trap type here
- Does
tracer/src/emulator/cpu.rs
is the right place to add related tests?
Thanks for taking this!
tracer/src/emulator/mmu.rs
may be a better place for tests@moodlezoup does stack grows downwards, from higher stack addr down to the DRAM_BASE
?
ref
/// DRAM base address. Offset from this base address
/// is the address in main memory.
pub const DRAM_BASE: u64 = 0x80000000;
@moodlezoup does stack grows downwards, from higher stack addr down to the
DRAM_BASE
? ref/// DRAM base address. Offset from this base address /// is the address in main memory. pub const DRAM_BASE: u64 = 0x80000000;
Yes, I believe so
https://jolt.a16zcrypto.com/usage/troubleshooting.html#insufficient-memory-or-stack-size
Currently, the tracer will error out with nondescript errors like
Unknown memory mapping 7FFFFE04.
The tracer should detect when we have exhausted the stack and/or heap, and throw a descriptive error if so