diff options
author | Daniel Borkmann <[email protected]> | 2021-03-24 11:25:39 +0100 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2021-04-16 23:51:57 +0200 |
commit | f528819334881fd622fdadeddb3f7edaed8b7c9b (patch) | |
tree | 151b9ecf65ed126be5b63b92bfc8852b2addc41f /scripts/gdb/linux/timerlist.py | |
parent | 073815b756c51ba9d8384d924c5d1c03ca3d1ae4 (diff) |
bpf: Move sanitize_val_alu out of op switch
Add a small sanitize_needed() helper function and move sanitize_val_alu()
out of the main opcode switch. In upcoming work, we'll move sanitize_ptr_alu()
as well out of its opcode switch so this helps to streamline both.
Signed-off-by: Daniel Borkmann <[email protected]>
Reviewed-by: John Fastabend <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions