News for hackers. Stuff that matters.
Re:What a good debugger can do by fluoridation on Friday March 10, 2023 @12:19PM (#35097563)
Yes, that's what it means. Ideally you'd record the state of memory and CPU after each instruction. In practice you can take snapshots at regular intervals and hook system functions to record their inputs and outputs. If a call has to be replayed the debugger intercepts it and gives the debuggee a recorded result.
Re:What a good debugger can do by greglaw99 on Saturday March 11, 2023 @09:55AM (#35108717)
Exactly. Except there are sources of non-determinism other than syscalls. Namely asynchronous signals, thread ordering, shared memory and non-deterministic instructions. They can all be dealt with though.