Commit Graph

25 Commits

Author SHA1 Message Date
hannken
6fc7edbd65 Disable PAX mprotect to make just-in-time-compile tests work again.
Ok: Christos Zoulas
2016-05-24 10:16:34 +00:00
alnsn
6d5b9045a5 Add two more libbpfjit_jmp_jeq_x_noinit_XX tests. 2015-02-14 22:40:18 +00:00
alnsn
4bf0e499d1 Replace accidentally committed test with libbpfjit_jmp_jeq_x_noinit_ax test. 2015-02-14 20:39:09 +00:00
alnsn
3228cf99a8 Improve libbpfjit_jmp_jeq_x test. 2015-02-14 20:29:36 +00:00
alnsn
bc33ca73a3 Add libbpfjit_jmp_ja_overflow test. 2015-02-11 23:33:16 +00:00
alnsn
9dc6430c3c Add libbpfjit_jmp_ja_invalid test. 2015-02-11 23:17:16 +00:00
alnsn
b43344f3ff Add libbpfjit_ret_k and libbpfjit_bad_ret_k tests. 2015-02-11 23:00:41 +00:00
alnsn
a234612ab2 Add BPF_MOD tests. Plus one tiny change. 2014-11-20 11:08:29 +00:00
alnsn
b61069b6e9 Add BPF_XOR tests. 2014-11-19 22:56:35 +00:00
alnsn
5977f956e5 Add a link to ../../net/bpfjit/t_extmem.c. 2014-07-14 19:11:15 +00:00
alnsn
2b2f4a0ebe Add bpfjit_cop_copx and bpfjit_copx_cop tests. 2014-07-13 21:35:33 +00:00
alnsn
f58748437d Rename bpfjit tests to libbpfjit. 2014-07-08 21:13:01 +00:00
alnsn
658efa8662 Rename bpfjit tests to libbpfjit, don't test zero buflen and a couple of
cosmetic changes.
2014-07-08 21:07:52 +00:00
alnsn
a6c4b35211 Add t_extmem test. 2014-06-25 19:13:27 +00:00
alnsn
966c8b069a Add external memory tests. 2014-06-25 19:13:03 +00:00
alnsn
5b6fcae7f9 Fix copyright. These tests are based on tests created in 2013 on github.com.
https://github.com/alnsn/bpfjit , files test/test_cop{,x}.c.
2014-06-25 18:16:40 +00:00
alnsn
6c8422a022 Add t_cop test. 2014-06-25 18:04:44 +00:00
alnsn
5990d54c7c Add BPF_COP and BPF_COPX tests. 2014-06-25 18:04:05 +00:00
alnsn
19fed70d36 Implement copfuncs and external memory in bpfjit. 2014-06-24 10:53:30 +00:00
alnsn
ce28ef1f5a libarch on sparc isn't -l${MACHINE_CPU}. Don't link to it. 2014-06-17 19:26:18 +00:00
alnsn
29499f54b7 Link with -l${MACHINE_CPU}. 2014-06-17 06:36:01 +00:00
alnsn
de2c6dc51a Update copyright year. 2014-05-23 11:48:26 +00:00
alnsn
02f87fcd70 Test Array Bounds Check Elimination (ABC) and test bpf programs from bpf(4). 2014-05-23 11:47:59 +00:00
rmind
d0748eb941 - Add bpf_args_t and convert bpf_filter_ext() to use it. This allows the
caller to initialise (and re-use) the memory store.
- Add bpf_jit_generate() and bpf_jit_freecode() wrappers.
2013-11-15 00:12:44 +00:00
alnsn
65b4b42177 Add libbpfjit test. 2012-11-11 17:37:34 +00:00