Better HN
topnewbestaskshowjobs
Log inSign up

etune

1 karma · joined Jul 29, 2025 (1y ago) · 1 submissions

Submissions

comment 1y ago · link · parent

ATOM could inject code before or after any basic block in a program: https://dl.acm.org/doi/abs/10.1145/178243.178260. The general technique, IIRC, was to replace the first instruction of the basic block with a jump to code that contained your new code and then the overwritten instructions, and then jump back into the original code.