diff options
| author | Eduard Zingerman <eddyz87@gmail.com> | 2026-02-13 00:34:21 +0300 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-02-14 01:41:22 +0300 |
| commit | ed20a14309e09216d1fa86e12b1578fa822119b4 (patch) | |
| tree | 2e572472952d1fa4f79e69b0810e012fc2f39380 /tools/testing/shared | |
| parent | f632de6e195533426017187b85f55f6169b09a50 (diff) | |
| download | linux-ed20a14309e09216d1fa86e12b1578fa822119b4.tar.xz | |
bpf: split check_reg_sane_offset() in two parts
check_reg_sane_offset() is used when verifying operations like:
dst_reg += src_reg
^ ^
| '-------- scalar
'------------------- pointer
To verify range for both dst_reg and src_reg. Split it in two parts:
- one to check a pointer offset
- another to check scalar offset
This would be useful for further refactoring.
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20260212-ptrs-off-migration-v2-1-00820e4d3438@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/shared')
0 files changed, 0 insertions, 0 deletions
