Better HN
topnewbestaskshowjobs
Log inSign up

EDEADLINK

3 karma · joined Aug 21, 2025 (1y ago) · 1 submissions

~ # errno 67 ENOLINK 67 Link has been severed
Submissions

comment 1y ago · link · parent

Digging into this a bit the best mnenomic I have found for a trap on ARM is "udf #0" which works on all the arm's on godbolt (and with -mthumb).

This saves us from selecting between BRK and BKPT.

I have not found a single sequence of bytes that would work on thumb, armv7 and AARCH64.