diff options
| author | 2023-09-13 01:32:04 +0200 | |
|---|---|---|
| committer | 2023-09-16 09:34:21 -0700 | |
| commit | b62bf8a5e9110922f58f6ea8fe747e1759f49e61 (patch) | |
| tree | b5992be840bc234adc2157ec1f62fa4e14b8bd62 /scripts/Makefile.thinlto | |
| parent | bpf: Add support for custom exception callbacks (diff) | |
bpf: Perform CFG walk for exception callback
Since exception callbacks are not referenced using bpf_pseudo_func and
bpf_pseudo_call instructions, check_cfg traversal will never explore
instructions of the exception callback. Even after adding the subprog,
the program will then fail with a 'unreachable insn' error.
We thus need to begin walking from the start of the exception callback
again in check_cfg after a complete CFG traversal finishes, so as to
explore the CFG rooted at the exception callback.
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Link: https://lore.kernel.org/r/20230912233214.1518551-8-memxor@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
