aboutgitcodelistschat:MatrixIRC
path: root/tests/unit/test_filter.c
Commit message (Collapse)AuthorAgeFilesLines
* test: fix filter testsAlice Frosi2023-07-041-44/+54
| | | | The filter tests recompile and pass.
* treewide: Change to GPLv2, add LICENSES, missing headersStefano Brivio2023-06-041-1/+1
| | | | | | As discussed with Alice -- 'reuse lint' passes now. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
* filter: adjust filter buildAlice Frosi2023-05-191-18/+6
| | | | | | | Add filter_flush_args() to flush the arguments when finish to add the syscall arguments. Fixed test compilation after refactoring.
* filter: refactoring filterAlice Frosi2023-05-171-175/+126
| | | | | | | | | | | Attempt to simplify the filter build: - storing all the bpf_args in a common array and saving the index of each entry in filter_input - added new flag to filter_add_arg for append an argument to an entry - split large loop in filter_build in multiple functions - adjust and refactor tests/units/test_filter The tests in test_filter_build.c still need to be fixed
* test: add test for and_neAlice Frosi2023-04-181-10/+38
|
* test: add unit test for and operationAlice Frosi2023-04-181-0/+66
|
* Add test for BPF filter comparison operationsAlice Frosi2023-04-141-28/+110
|
* Fix testsAlice Frosi2023-04-131-2/+29
|
* Refactor tests to use same struct arg as the filterAlice Frosi2023-04-121-31/+15
|
* Add other comparison operation for the BPF filterAlice Frosi2023-04-121-3/+7
|
* filter: define arg_cmp and arg_typeAlice Frosi2023-04-061-10/+6
|
* Add support for 64 bits argumentsAlice Frosi2023-04-061-6/+70
|
* fix filter testAlice Frosi2023-04-031-1/+0
|
* filter: fix filterAlice Frosi2023-04-031-22/+52
| | | | | An additional notification is need either when we jump from an instruction without arguments then at the end of the argument checks.
* tests: add tests for filtering the syscallsAlice Frosi2023-03-311-0/+93