diff options
Diffstat (limited to 'executor/common_kvm_amd64_syzos.h')
| -rw-r--r-- | executor/common_kvm_amd64_syzos.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/executor/common_kvm_amd64_syzos.h b/executor/common_kvm_amd64_syzos.h index a8e825ab9..9baf9c5f5 100644 --- a/executor/common_kvm_amd64_syzos.h +++ b/executor/common_kvm_amd64_syzos.h @@ -77,6 +77,13 @@ typedef enum { UEXIT_ASSERT = (uint64)-3, } uexit_code; +__attribute__((naked)) +GUEST_CODE static void +dummy_null_handler() +{ + asm("iretq"); +} + // Main guest function that performs necessary setup and passes the control to the user-provided // payload. __attribute__((used)) |
