diff options
author | 2019-04-03 23:22:42 -0700 | |
---|---|---|
committer | 2019-04-05 16:50:08 +0200 | |
commit | 07f9196241f8bceef975dd15f894f8ed51425d55 (patch) | |
tree | a4881fdfd7e9487249bf28017d18394560a02fef /tools/perf/scripts/python | |
parent | bpf: Sanity check max value for var_off stack access (diff) | |
download | wireguard-linux-07f9196241f8bceef975dd15f894f8ed51425d55.tar.xz wireguard-linux-07f9196241f8bceef975dd15f894f8ed51425d55.zip |
selftests/bpf: Test unbounded var_off stack access
Test the case when reg->smax_value is too small/big and can overflow,
and separately min and max values outside of stack bounds.
Example of output:
# ./test_verifier
#856/p indirect variable-offset stack access, unbounded OK
#857/p indirect variable-offset stack access, max out of bound OK
#858/p indirect variable-offset stack access, min out of bound OK
Signed-off-by: Andrey Ignatov <rdna@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions