diff options
author | Eduard Zingerman <eddyz87@gmail.com> | 2025-03-05 00:54:36 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2025-03-15 11:48:30 -0700 |
commit | 871ef8d50e7c92b93ebd5d8ff11dc6dfb2fdce1d (patch) | |
tree | b0ccb72244f73a44bb890054febaec7754a3ab0a /scripts/gdb/linux/utils.py | |
parent | c1d95a0f2d0fdd87b70d333d45a79d8752a79f6e (diff) |
bpf: correct use/def for may_goto instruction
may_goto instruction does not use any registers,
but in compute_insn_live_regs() it was treated as a regular
conditional jump of kind BPF_K with r0 as source register.
Thus unnecessarily marking r0 as used.
Fixes: 14c8552db644 ("bpf: simple DFA-based live registers analysis")
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20250305085436.2731464-1-eddyz87@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions