diff options
| author | Yuan Chen <chenyuan@kylinos.cn> | 2025-08-29 07:11:07 +0100 |
|---|---|---|
| committer | Daniel Borkmann <daniel@iogearbox.net> | 2025-09-02 17:20:54 +0200 |
| commit | 6417ca85305ecaffef13cf9063ac35da8fba8500 (patch) | |
| tree | 1a30a895a5db6d3498f0e810b84d74274c23fb20 /scripts/lib/kdoc/kdoc_re.py | |
| parent | 70f32a10ad423fd19e22e71d05d0968e61316278 (diff) | |
bpftool: Add CET-aware symbol matching for x86_64 architectures
Adjust symbol matching logic to account for Control-flow Enforcement
Technology (CET) on x86_64 systems. CET prefixes functions with
a 4-byte 'endbr' instruction, shifting the actual hook entry point to
symbol + 4.
Signed-off-by: Yuan Chen <chenyuan@kylinos.cn>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Quentin Monnet <qmo@kernel.org>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/bpf/20250829061107.23905-3-chenyuan_fl@163.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions
