diff options
author | Alexei Starovoitov <[email protected]> | 2019-07-30 18:38:27 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2019-08-01 13:14:29 -0700 |
commit | f1fc7249dddc0e52d9e805e2e661caa118649509 (patch) | |
tree | 22248cfe429e9b80811f8078af1cb8b5266bd30d /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 7c2e988f400e83501e0a3568250780609b7c8263 (diff) |
selftests/bpf: tests for jmp to 1st insn
Add 2 tests that check JIT code generation to jumps to 1st insn.
1st test is similar to syzbot reproducer.
The backwards branch is never taken at runtime.
2nd test has branch to 1st insn that executes.
The test is written as two bpf functions, since it's not possible
to construct valid single bpf program that jumps to 1st insn.
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Song Liu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions