System call instrumentation on Linux/x86‑64 using memory‑indirect calls, part I

·Hacker News··

Rambles around computer science Diverting trains of thought, wasting precious time 15 06 2026--> Mon, 15 Jun 2026 System call instrumentation on Linux/x86-64 using memory-indirect calls (in vain?), part one My libsystrap library provides a simple instrumentation of system calls in Linux x86-64 userland. However, its current implementation suffers a double-trap overhead: system calls become ud2, which generates a SIGILL trap. Then we run the system call itself from within the signal handler, caus

Read full article →

Related Articles

Google Hits 50% IPv6
barqawiz · Hacker News · 10h ago
Linux eliminates the strncpy API after six years of work, 360 patches
simonpure · Hacker News · 21h ago
Bun has an open PR adding shared-memory threads to JavaScriptCore
gr4vityWall · Hacker News · 1d ago
Fossil Fuels Are 40% of Freight Shipping Tonnage, but Half Its Fuel Use
choult · Hacker News · 3h ago
(How to Write a (Lisp) Interpreter (In Python)) (2010)
tosh · Hacker News · 2h ago