summaryrefslogtreecommitdiff
path: root/tools/accounting
diff options
context:
space:
mode:
authorEduard Zingerman <eddyz87@gmail.com>2023-11-21 05:06:52 +0300
committerAlexei Starovoitov <ast@kernel.org>2023-11-21 05:33:35 +0300
commit87eb0152bcc102ecbda866978f4e54db5a3be1ef (patch)
tree25716ce657f2157c4a6fdf1dd0ecce6a1279f23b /tools/accounting
parent977bc146d4eb7070118d8a974919b33bb52732b4 (diff)
downloadlinux-87eb0152bcc102ecbda866978f4e54db5a3be1ef.tar.xz
selftests/bpf: track string payload offset as scalar in strobemeta
This change prepares strobemeta for update in callbacks verification logic. To allow bpf_loop() verification converge when multiple callback iterations are considered: - track offset inside strobemeta_payload->payload directly as scalar value; - at each iteration make sure that remaining strobemeta_payload->payload capacity is sufficient for execution of read_{map,str}_var functions; - make sure that offset is tracked as unbound scalar between iterations, otherwise verifier won't be able infer that bpf_loop callback reaches identical states. Acked-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Eduard Zingerman <eddyz87@gmail.com> Link: https://lore.kernel.org/r/20231121020701.26440-3-eddyz87@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/accounting')
0 files changed, 0 insertions, 0 deletions