aboutsummaryrefslogtreecommitdiff
path: root/tools/regression/bpf
Commit message (Collapse)AuthorAgeFilesLines
* tests: Update for jemalloc's option parsingEd Maste2025-06-171-1/+1
| | | | | | | | | | MALLOC_OPTIONS=J -> MALLOC_CONF=junk:true PR: 287357 Reviewed by: markj Event: Kitchener-Waterloo Hackathon 202506 Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D50910
* Remove residual blank line at start of MakefileWarner Losh2024-07-152-2/+0
| | | | | | | This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-162-2/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
| | | | Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
* Remove $FreeBSD$: two-line .h patternWarner Losh2023-08-1691-182/+0
| | | | Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
* Do a sweep and remove most WARNS=6 settingsKyle Evans2020-10-011-1/+0
| | | | | | | | | | | | | | | Repeating the default WARNS here makes it slightly more difficult to experiment with default WARNS changes, e.g. if we did something absolutely bananas and introduced a WARNS=7 and wanted to try lifting the default to that. Drop most of them; there is one in the blake2 kernel module, but I suspect it should be dropped -- the default WARNS in the rest of the build doesn't currently apply to kernel modules, and I haven't put too much thought into whether it makes sense to make it so. Notes: svn path=/head/; revision=366304
* other: Fix several typos and minor errorsEitan Adler2017-12-271-1/+1
| | | | | | | | | | | - duplicate words - typos - references to old versions of FreeBSD Reviewed by: imp, benno Notes: svn path=/head/; revision=327233
* Clean up and add some test cases for ALU instructions.Jung-uk Kim2016-10-2193-600/+830
| | | | Notes: svn path=/head/; revision=307708
* Adjust a test case and make it more jump optimization neutral for JIT case.Jung-uk Kim2010-04-231-1/+1
| | | | Notes: svn path=/head/; revision=207135
* Make this test case little bit more interesting.Jung-uk Kim2009-11-231-500/+500
| | | | Notes: svn path=/head/; revision=199722
* Correct copyright date in the BPF regression test.Jung-uk Kim2009-11-201-1/+1
| | | | Notes: svn path=/head/; revision=199605
* Adjust BPF JIT compiler regression tests to catch up with r199603.Jung-uk Kim2009-11-207-20/+35
| | | | Notes: svn path=/head/; revision=199604
* Add a test case for very long BPF program.Jung-uk Kim2009-11-192-1/+1031
| | | | Notes: svn path=/head/; revision=199499
* Connect a forgotten test case to Makefile.Jung-uk Kim2008-08-291-1/+1
| | | | Notes: svn path=/head/; revision=182464
* Do not pass validatation level since all issues are fixed now.Jung-uk Kim2008-08-291-1/+1
| | | | Notes: svn path=/head/; revision=182459
* Merge local copy of bpf_validate() with bpf_filter.c.Jung-uk Kim2008-08-291-11/+14
| | | | Notes: svn path=/head/; revision=182457
* Merge bpf_filter.c r182425 and add test cases for jump range checks.Jung-uk Kim2008-08-296-27/+137
| | | | | | | While I am here, fix stupid typos in test0080.h and make it JIT compiler only. Notes: svn path=/head/; revision=182428
* Move comments to the right places.Jung-uk Kim2008-08-281-5/+5
| | | | Notes: svn path=/head/; revision=182417
* Merge bpf_filter.c r182412 and remove additional local checks.Jung-uk Kim2008-08-282-53/+23
| | | | | | | While I am here, use more realistic value for illegal code test case. Notes: svn path=/head/; revision=182415
* Fix style consistencies and a comment.Jung-uk Kim2008-08-2880-449/+449
| | | | Notes: svn path=/head/; revision=182393
* Merge bpf_filter.c r182380 and remove additional local checksJung-uk Kim2008-08-281-12/+4
| | | | | | | for BPF_STX and BPF_LDX|BPF_MEM instructions. Notes: svn path=/head/; revision=182382
* Add a test case for uninitialized scratch memory (for JIT compiler).Jung-uk Kim2008-08-282-2/+66
| | | | Notes: svn path=/head/; revision=182377
* Add a test case for null filter.Jung-uk Kim2008-08-263-11/+35
| | | | Notes: svn path=/head/; revision=182221
* Add more test cases for invalid instructions and add commentsJung-uk Kim2008-08-267-9/+232
| | | | | | | about bpf_validate(9) issues. Notes: svn path=/head/; revision=182219
* Remove some hacks from regression test since bpf_filter.c builds fine now.Jung-uk Kim2008-08-262-9/+8
| | | | Notes: svn path=/head/; revision=182185
* Add a trivial bpf filter benchmark.Jung-uk Kim2008-08-252-5/+22
| | | | Notes: svn path=/head/; revision=182183
* Use sys/net/bpf_jitter.c instead of rolling our own versionJung-uk Kim2008-08-252-10/+7
| | | | | | | since it is compilable on user land now. Notes: svn path=/head/; revision=182182
* Reflect sys/net/bpf_jitter.h changes to regression test.Jung-uk Kim2008-08-251-17/+7
| | | | Notes: svn path=/head/; revision=182175
* Add test case for 'divide by 0' with BPF_ALU|BPF_DIV|BPF_X instruction.Jung-uk Kim2008-08-182-1/+34
| | | | Notes: svn path=/head/; revision=181857
* Fix two test cases on 32-bit architectures.Jung-uk Kim2008-08-182-2/+6
| | | | Notes: svn path=/head/; revision=181855
* Add simple bpf(9) regression tests and test cases.Jung-uk Kim2008-08-1876-0/+2739
Notes: svn path=/head/; revision=181847