Commit Graph
3573 Commits
Author SHA1 Message Date
Nikita SmithandRyan Fleury 1196de6916 move sys/wait.h to os_core_linux 2025-11-07 16:37:45 -08:00
Ryan Fleury 035e72306d o_cloexec; preserve leading slashes in root-level paths 2025-11-07 16:37:30 -08:00
Ryan Fleury d4d2159389 eliminate process array join api, no longer needed 2025-11-07 15:54:41 -08:00
Ryan Fleury 4ea3c5a0e4 artifact cache cancellation mutex -> semaphore (fixes cancellation thread on linux - we cannot take/drop across threads with mutexes); flip no_meta -> meta 2025-11-07 15:47:15 -08:00
Ryan Fleury 85778910c6 radbin build.sh 2025-11-07 15:47:15 -08:00
Nikita SmithandRyan Fleury 32bdd14d8e image base for a dynamic ELF is always zero 2025-11-07 15:47:15 -08:00
Nikita SmithandRyan Fleury ddc57a0ac4 WIP changed backend to use ptrace seize and interrupt 2025-11-07 15:47:15 -08:00
Ryan Fleury 80ccfba3c6 fix metagen build on linux 2025-11-07 14:57:41 -08:00
Ryan Fleury af423b142e gl shear 2025-11-07 14:47:14 -08:00
Nikita SmithandRyan Fleury 920a3ab3b7 discard unknown FDEs 2025-11-07 14:39:46 -08:00
Nikita SmithandRyan Fleury b00d3d9041 print out call stacks on crashes 2025-11-07 14:39:46 -08:00
Nikita SmithandRyan Fleury 69fe51ec94 set permissions on shared memory 2025-11-07 14:39:46 -08:00
Nikita SmithandRyan Fleury 1cb1522931 minor cleanup 2025-11-07 14:39:46 -08:00
Nikita SmithandRyan Fleury 90c4e1604e implement semaphore open and clsoe 2025-11-07 14:39:46 -08:00
Nikita SmithandRyan Fleury 857860fb27 remove unused includes and inline ptrace options define 2025-11-07 14:39:46 -08:00
Nikita SmithandRyan Fleury 880b8135cc add per-item purging to the hash table 2025-11-07 14:39:46 -08:00
Nikita SmithandRyan Fleury 66606b0327 use STAP probes to generate load and unload module events 2025-11-07 14:39:46 -08:00
Nikita SmithandRyan Fleury c8c993d4e8 filter for threads 2025-11-07 14:39:46 -08:00
Nikita SmithandRyan Fleury f832ac191c implement process API under Linux 2025-11-07 14:39:46 -08:00
Nikita SmithandRyan Fleury e1a46f7d21 reader for STAP arguments 2025-11-07 14:39:46 -08:00
Nikita SmithandRyan Fleury bda3a71379 argument parser for simple STAP arguments 2025-11-07 14:39:46 -08:00
Nikita SmithandRyan Fleury c4c9ef5182 WIP: got Linux to the point where single stepping and breakpoint
events are being reported correctly to the debugger
2025-11-07 14:39:46 -08:00
Nikita SmithandRyan Fleury 0d5df8f38d ELF includes 2025-11-07 14:39:46 -08:00
Nikita SmithandRyan Fleury fdb1ad5ab6 do not unwind with PE when DWARF unwinder exits with stale flag 2025-11-07 14:39:46 -08:00
Nikita SmithandRyan Fleury 6cc7b5622c ELF note parser 2025-11-07 14:39:46 -08:00
Nikita SmithandRyan Fleury b596a6ed8a dumper for SHT_NOTE 2025-11-07 14:39:46 -08:00
Nikita SmithandRyan Fleury 8bc1e4b21c explicitly update stack pointer 2025-11-07 14:39:46 -08:00
Nikita SmithandRyan Fleury 3f70cd6d05 handle CFI programs without meaningful instructions 2025-11-07 14:39:46 -08:00
Nikita SmithandRyan Fleury 7616767ed7 fix CFA_Expr instruction fill 2025-11-07 14:39:46 -08:00
Nikita SmithandRyan Fleury f2392284d5 add missing case for the register rule 2025-11-07 14:39:46 -08:00
Nikita SmithandRyan Fleury 793cd90604 zero out IP when reached last frame 2025-11-07 14:39:45 -08:00
Nikita SmithandRyan Fleury 16232b98d8 SP from arch helper 2025-11-07 14:39:45 -08:00
Nikita SmithandRyan Fleury 9e965e345f string format expression op when version is below 3 2025-11-07 14:39:45 -08:00
Nikita SmithandRyan Fleury 1b6e9e9d7b parse "Signal Frame" aug flag and fill out augmentation data size 2025-11-07 14:39:45 -08:00
Nikita SmithandRyan Fleury 821af9b104 fix FDE binary search for case where PC is not exactly on first instruction 2025-11-07 14:39:45 -08:00
Nikita SmithandRyan Fleury d44efc15c8 remove structs that are now in GNU layer and add 32 -> 64 bit struct converters 2025-11-07 14:39:45 -08:00
Nikita SmithandRyan Fleury e6a01472c8 layer for x64 2025-11-07 14:39:45 -08:00
Nikita SmithandRyan Fleury 942c354bd9 fix eh_frame dumping 2025-11-07 14:39:45 -08:00
Nikita SmithandRyan Fleury f0bd30c89b layer for interfacing with GNU 2025-11-07 14:39:45 -08:00
Nikita SmithandRyan Fleury b091233a33 infer path style from exe type 2025-11-07 14:39:45 -08:00
Nikita SmithandRyan Fleury 36b22c06b1 moved eh_frame files to dwarf layer 2025-11-07 14:39:45 -08:00
Nikita SmithandRyan Fleury 78f2e641bc fix program header rebase issue in non-PIE exes, and export program header
info through DEMON event
2025-11-07 14:39:45 -08:00
Nikita SmithandRyan Fleury 7f705923e6 parse CIE and FDE out of runtime ELF 2025-11-07 14:39:45 -08:00
Nikita SmithandRyan Fleury 4e2c983b0f skip leading NOP opcodes, which caused extra CFI rows to be emitted 2025-11-07 14:39:45 -08:00
Nikita SmithandRyan Fleury dad92610de dumper for .eh_frame_hdr and .eh_frame 2025-11-07 14:39:45 -08:00
Nikita SmithandRyan Fleury 327645436a named semaphore impl for Linux 2025-11-07 14:39:45 -08:00
Nikita SmithandRyan Fleury c32d85ea2d DWARF helper 2025-11-07 14:39:45 -08:00
Nikita SmithandRyan Fleury 3b81e1a0e9 connect DWARF virtual stack unwinder 2025-11-07 14:39:45 -08:00
Nikita SmithandRyan Fleury da38f266d9 parser for .eh_frame versions of CIE and FDE and new helper for
mapping PC -> CFI Row
2025-11-07 14:39:45 -08:00
Nikita SmithandRyan Fleury ecbce1efdf add TR and LDTR registers 2025-11-07 14:39:45 -08:00