diff options
author | Johan Almbladh <johan.almbladh@anyfinetworks.com> | 2021-09-14 11:18:37 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2021-09-28 09:26:28 +0200 |
commit | d4ff9ee2dc0bbbdba204e215c8b6bf58f5773994 (patch) | |
tree | b700bd3094bb59693716cb7df8fe2e1aa33ab718 /COPYING | |
parent | bpf/tests: Add test case flag for verifier zero-extension (diff) | |
download | linux-d4ff9ee2dc0bbbdba204e215c8b6bf58f5773994.tar.xz linux-d4ff9ee2dc0bbbdba204e215c8b6bf58f5773994.zip |
bpf/tests: Add JMP tests with small offsets
This patch adds a set of tests for JMP to verify that the JITed jump
offset is calculated correctly. We pretend that the verifier has inserted
any zero extensions to make the jump-over operations JIT to one
instruction each, in order to control the exact JITed jump offset.
Signed-off-by: Johan Almbladh <johan.almbladh@anyfinetworks.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20210914091842.4186267-10-johan.almbladh@anyfinetworks.com
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions