fitzgen commented on issue #6935:
Alright this is ready for review now! @alexcrichton mind taking a look?
fitzgen commented on issue #6935:
One thing I'm missing though, how will this all fit together? While we can dump globals/memories/etc that happen to be in the
Store
how is it planned to correlate that back to indices within module instances?Put another way this gives access to private memories/globals which seems required to have core dumps at all, but beyond providing access it doens't provide a great means of figuring out what a
Global
or aMemory
isI have a WIP follow up PR that actually makes
wasmtime::CoreDump
serializable (we don't actually usewasmtime::CoreDump
yet for the-Dcoredump=...
flag, for example) and will do all the mapping between frames and instances and modules and globals and memories. There is definitely more to be done here, and you shouldn't expect core dump stuff to be finished and complete after this PR.
Last updated: Nov 22 2024 at 16:03 UTC