aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorHou Tao <[email protected]>2021-10-25 06:40:23 +0000
committerAlexei Starovoitov <[email protected]>2021-11-01 21:10:00 +0000
commit35346ab64132d0f5919b06932d708c0d10360553 (patch)
treedfa39e7231a75a2e84dbfc6fad96ad52321042ea /scripts/gcc-plugins/sancov_plugin.c
parentbpf: Factor out a helper to prepare trampoline for struct_ops prog (diff)
downloadkernel-35346ab64132d0f5919b06932d708c0d10360553.tar.gz
kernel-35346ab64132d0f5919b06932d708c0d10360553.zip
bpf: Factor out helpers for ctx access checking
Factor out two helpers to check the read access of ctx for raw tp and BTF function. bpf_tracing_ctx_access() is used to check the read access to argument is valid, and bpf_tracing_btf_ctx_access() checks whether the btf type of argument is valid besides the checking of argument read. bpf_tracing_btf_ctx_access() will be used by the following patch. Signed-off-by: Hou Tao <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Martin KaFai Lau <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions