aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing
diff options
context:
space:
mode:
authorJohn Fastabend <john.fastabend@gmail.com>2017-07-02 02:13:30 +0200
committerDavid S. Miller <davem@davemloft.net>2017-07-03 02:22:52 -0700
commit43188702b3d98d2792969a3377a30957f05695e6 (patch)
tree5628949d11bd28e33bfcf8e22b5dbd1548ad8322 /tools/testing
parentbpf: extend bpf_trace_printk to support %i (diff)
downloadwireguard-linux-43188702b3d98d2792969a3377a30957f05695e6.tar.xz
wireguard-linux-43188702b3d98d2792969a3377a30957f05695e6.zip
bpf, verifier: add additional patterns to evaluate_reg_imm_alu
Currently the verifier does not track imm across alu operations when the source register is of unknown type. This adds additional pattern matching to catch this and track imm. We've seen LLVM generating this pattern while working on cilium. Signed-off-by: John Fastabend <john.fastabend@gmail.com> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions