diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-10 22:51:17 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-10 23:04:17 -0300 |
| commit | b4ab1d770edb06d3eeebfd290bbf97725e55b7fa (patch) | |
| tree | 75c0b876f4dde764e50e21c4faf9963887f63b44 /design/mock/context.py | |
| parent | fa5d150ac6977264f0704e9af664f8150bd25127 (diff) | |
| download | computeranim-b4ab1d770edb06d3eeebfd290bbf97725e55b7fa.tar.gz computeranim-b4ab1d770edb06d3eeebfd290bbf97725e55b7fa.zip | |
trace: the call chain by the unwind tables; what each word of the stack is
backtrace and frames follow .debug_frame or .eh_frame where there is
one (PLT entries expanded into exact rows) and the frame pointer where
there is none: the caller is no longer lost in a prologue, in a function
that keeps no frame, in a PLT entry or inside libc's syscall wrappers.
Against gdb: the same chains on fib and on SQLite, where the old walk
lost __sbrk and unixSync.
A recording holds, once a function, its unwind rows and its locals on
the stack (DW_OP_fbreg, with the block each lives in), and the process's
first stack pointer. telescope.slots says of each word what it is: a
saved register and which, a return address, a local by name, argc, argv,
envp, auxv. Four bytes a moment on the list by instruction, and no
slower.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNCKgYCGiANnEwcEQxa
Diffstat (limited to 'design/mock/context.py')
0 files changed, 0 insertions, 0 deletions
