diff options
author | Chuang Wang <[email protected]> | 2022-11-29 16:39:51 +0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2023-01-10 12:37:14 +0100 |
commit | 9fcad995c6c52cc9791f7ee9f1386a5684055f9c (patch) | |
tree | 59debf93ae4d59458c437d624b16ac4da9d78d7f /scripts/gdb/linux/proc.py | |
parent | 7bdb1767bf011c7f6065ac483ad2f00e434c3979 (diff) |
x86/kprobes: Use switch-case for 0xFF opcodes in prepare_emulation
For the `FF /digit` opcodes in prepare_emulation, use switch-case
instead of hand-written code to make the logic easier to understand.
Signed-off-by: Chuang Wang <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Acked-by: Masami Hiramatsu (Google) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions