diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-19 10:12:32 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-19 10:12:32 +0300 |
| commit | 127516b4bf63dc922df222825a9a6a1d7eacc214 (patch) | |
| tree | 3839a2f6a7f4f1bc713690678fc003d4e2be8a8c /internal/generate/classify.go | |
| parent | 32a19cf9fb1344c9b1a61054d7cf2c90edc3708a (diff) | |
u6: add socket/socketpair kind scaffolding and wiring
Diffstat (limited to 'internal/generate/classify.go')
| -rw-r--r-- | internal/generate/classify.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/generate/classify.go b/internal/generate/classify.go index 7768ea7..68cd722 100644 --- a/internal/generate/classify.go +++ b/internal/generate/classify.go @@ -15,6 +15,8 @@ const ( KindNull KindDup3 KindOpenByHandleAt + KindSocket + KindSocketpair ) type RetClassification string @@ -79,6 +81,10 @@ func classifyNameOnly(name string) (ClassificationResult, bool) { return ClassificationResult{Kind: KindNull}, true case "sys_enter_getcwd": return ClassificationResult{Kind: KindNull}, true + case "sys_enter_socket": + return ClassificationResult{Kind: KindSocket}, true + case "sys_enter_socketpair": + return ClassificationResult{Kind: KindSocketpair}, true } if strings.HasPrefix(name, "sys_enter_io_") { return ClassificationResult{Kind: KindNull}, true |
