feat: server-side symbolication of frames #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/symbolication"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes BUG-4
Stacked on #2 (fingerprint). Part of ECO-EP1. Depends on the release pipeline publishing symbols (ECO-67) to be useful in production.
What
symbolicate.rs: resolves frames that carrybuild_id+ module-relativeoffsetbut no symbol, against<symbol_dir>/<xx>/<build-id>.debug(BREADBUG_SYMBOL_DIR, default<data>/symbols), using addr2line / gimli / object. Function (demangled), file and line.Tests
rustc -gand a GNU build-id: function, file and line resolve; already-symbolised frames untouched; missing symbols reported; hostile build-ids never touch the filesystem; corrupt or directory "symbol files" do not panic; unmapped addresses stay unresolved; top-frame cap.-D warningsclean.Notes
dladdrarithmetic gives for a PIE binary). The client side that fillsoffsetis BREAD-16/17.fc1efbbdd25684d956c0