diff options
author | Andrii Nakryiko <[email protected]> | 2023-03-02 15:50:04 -0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2023-03-04 11:14:32 -0800 |
commit | 653ae3a874aca6764a4c1f5a8bf1b072ade0d6f4 (patch) | |
tree | 541b4b86f42a696f86f74ad6d3c1bc64c69a5763 /lib/string_helpers.c | |
parent | fffc893b6bf29162aca76842238868b131fcb477 (diff) |
bpf: clean up visit_insn()'s instruction processing
Instead of referencing processed instruction repeatedly as insns[t]
throughout entire visit_insn() function, take a local insn pointer and
work with it in a cleaner way.
It makes enhancing this function further a bit easier as well.
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions