Re: Executing code if debuggee is a crash dump?
Christian Biesinger via Gdb <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <CAPTJ0XHqvXvC8wCDc=4Gs6xiKAthkkS_YOo6eTrMMB6N921RFg@mail.gmail.com> |
On Tue, Aug 24, 2021 at 6:08 AM Michael Woerister via Gdb <[email protected]> wrote: > I'm looking into implementing debugger extensions that help with > debugging crash dumps of "async" Rust executables. Such an extension > would need to inspect the complex internals of several async runtime > implementations. We could potentially make the extension more robust and > easier to maintain if we provided a standardized inspection API in the > various runtimes and have the debugger interact with that. The functions > behind this API would be restricted to not interact with the environment > (e.g. not allocate memory, etc). > > However, my research so far indicates that neither GDB nor any other > debugger is capable of executing code in a crash dump. Is that true or > am I overlooking something? > Would anybody here be able give me a definite answer to this question? If you can reproduce the bug, you could run under https://rr-project.org/, which would allow you to call functions. Christian