summaryrefslogtreecommitdiff
path: root/internal/generate/classify_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-29 09:57:50 +0300
committerPaul Buetow <paul@buetow.org>2026-05-29 09:57:50 +0300
commit3bcdbe94d8b72ebcd829dbf7c1a582d2268fef45 (patch)
treeb050e3f4de81683414b9638d94f4825a454b2ab3 /internal/generate/classify_test.go
parentff8774b5ce3f6b37e5152d0dc06ae46b7a36d1da (diff)
test(family): assert ioperm/iopl/modify_ldt classify as Misc
Audit of ioperm(2) confirmed the syscall is traced correctly: classified as KindNull (name-only enter, no arg decoding) with the exit handler capturing the raw int return value, matching the man-page semantics (int ioperm(unsigned long from, unsigned long num, int turn_on) -> 0/-1). ioperm and its x86 port/CPU-state siblings (iopl, modify_ldt) are not in the explicit family table and intentionally fall through to Misc. Add explicit family-classification assertions so a future regression that accidentally remaps them is caught. No implementation change was needed. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'internal/generate/classify_test.go')
0 files changed, 0 insertions, 0 deletions