diff options
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 |
