summaryrefslogtreecommitdiff
path: root/TODO.md
blob: d56496d2e41bffce54ec8f8ae97fa81cb4ce3fb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# TODO - Eventloop Test Coverage

## Remaining Helper Functions
- [x] Create helper functions for NameEvent (makeEnterNameEvent/makeExitNameEvent)
- [x] Create helper functions for NullEvent (makeEnterNullEvent/makeExitNullEvent)  
- [x] Create helper functions for Dup3Event (makeEnterDup3Event/makeExitDup3Event)

## Remaining Test Cases

### FdEvent Syscalls
- [x] Add test case for fsync syscall
- [x] Add test case for ftruncate syscall

### PathEvent Syscalls  
- [x] Add test case for unlink syscall
- [x] Add test case for creat syscall
- [x] Add test case for stat syscall
- [x] Add test case for access syscall

### NameEvent Syscalls
- [x] Add test case for rename syscall
- [x] Add test case for link syscall
- [x] Add test case for symlink syscall

### NullEvent Syscalls
- [x] Add test case for sync syscall
- [x] Add test case for io_uring_setup syscall

### Dup3Event Syscalls
- [x] Add test case for dup3 syscall

## Advanced Test Cases

### File Descriptor Lifecycle
- [x] Test that fd from openat is properly tracked in subsequent read/write/close operations
- [x] Test dup/dup2/dup3 creating new file descriptors
- [x] Test close removing fd from tracking
- [x] Test multiple file descriptors being tracked simultaneously

### Edge Cases
- [x] Test missing enter events (only exit event received)
- [x] Test missing exit events (only enter event received)
- [x] Test mismatched enter/exit pairs
- [x] Test out-of-order events
- [x] Test events from different threads/processes

### Filtering and Comm Tracking
- [x] Test that comm names are properly propagated across syscalls
- [x] Test filter behavior for each event type
- [x] Test comm filter enable/disable functionality