summaryrefslogtreecommitdiff
path: root/internal/generate/codegen_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-29 10:19:03 +0300
committerPaul Buetow <paul@buetow.org>2026-05-29 10:19:03 +0300
commit59451a70fc82b3b6b5522986b08b4c16cda24301 (patch)
treeff0df154b477ac2e095aadc878f4ac2e0752ce96 /internal/generate/codegen_test.go
parent49b16417d9f52c8ddb48b158b73ccda31fd26982 (diff)
test(generate): lock in gettimeofday classification
Audit of gettimeofday(2) confirmed the existing implementation is correct: it is classified KindNull (userspace timeval/timezone pointer args, not fd/path) and FamilyTime alongside its clock_gettime/ settimeofday/time siblings; its exit emits a plain ret_event carrying the int 0/-1 return as UNCLASSIFIED. mage generate produces no diff. Add lock-in tests mirroring prior syscall audits: - family_test.go asserts sys_enter/exit_gettimeofday => FamilyTime - retclassify_test.go asserts gettimeofday exit stays UNCLASSIFIED Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'internal/generate/codegen_test.go')
0 files changed, 0 insertions, 0 deletions