diff options
| author | Alexander Potapenko <glider@google.com> | 2024-12-04 15:56:28 +0100 |
|---|---|---|
| committer | Alexander Potapenko <glider@google.com> | 2024-12-05 10:57:12 +0000 |
| commit | dc321da2199117bb5c2e0da759276f306604ede2 (patch) | |
| tree | 7beee1e0db0a838d1b0bc0f9214c7dbd312ba95b /executor/test.h | |
| parent | 9cdf142495c4f4bc54bb064d7696a5593e95a80a (diff) | |
executor: arm64: rewrite guest_handle_its_send_cmd() without a switch
Prevent the compiler from generating a jump table by replacing a switch
with a series of if statements.
This is ugly, but lets us work around crashes caused by https://github.com/google/syzkaller/issues/5565
Diffstat (limited to 'executor/test.h')
0 files changed, 0 insertions, 0 deletions
