diff options
| author | Paul Buetow <paul@buetow.org> | 2025-07-10 22:30:59 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-07-10 22:30:59 +0300 |
| commit | 865ccd8a8bc0eff72686577a9fc159a6a8934b31 (patch) | |
| tree | f3369e6b0d4e5cf14103a47a9713e2a7718e5b28 /TODO.md | |
| parent | 3e30b02f76b3a46b50e041c2c6c0db6678e14e4e (diff) | |
feat: Add comprehensive filtering and comm tracking tests
Implemented three test suites for eventloop filtering functionality:
1. TestCommPropagation - Verifies that comm names established via OpenEvent
are properly propagated to subsequent syscalls from the same thread ID.
2. TestEventTypeFiltering - Tests filter behavior for each event type:
- OpenEvent: Filters by both comm and path
- PathEvent: Filters by path only
- NameEvent: Filters by path (checks both oldname and newname)
- FdEvent: Filters by comm and path via eventPair
3. TestCommFilterToggle - Tests that comm filter enable/disable works correctly,
demonstrating that FdEvents without established comm names are filtered when
comm filter is enabled.
Also fixed buffer overflow issues when setting custom comm names in tests by
clearing the buffer before copying new values.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'TODO.md')
| -rw-r--r-- | TODO.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -45,6 +45,6 @@ - [x] Test events from different threads/processes ### Filtering and Comm Tracking -- [ ] Test that comm names are properly propagated across syscalls -- [ ] Test filter behavior for each event type -- [ ] Test comm filter enable/disable functionality
\ No newline at end of file +- [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
\ No newline at end of file |
