diff options
author | Yonghong Song <yhs@fb.com> | 2021-02-26 23:49:20 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-02-27 00:23:52 +0300 |
commit | efdb22de7dcd3b24b8154b3c3ba496f62afea00c (patch) | |
tree | 37efc018f6e6244e1afd33de75cdb0c8bc09c562 /scripts/bpf_helpers_doc.py | |
parent | 86fd166575c38c17ecd3a6b8fb9c64fa19871486 (diff) | |
download | linux-efdb22de7dcd3b24b8154b3c3ba496f62afea00c.tar.xz |
bpf: Factor out visit_func_call_insn() in check_cfg()
During verifier check_cfg(), all instructions are
visited to ensure verifier can handle program control flows.
This patch factored out function visit_func_call_insn()
so it can be reused in later patch to visit callback function
calls. There is no functionality change for this patch.
Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210226204920.3884136-1-yhs@fb.com
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions