Exception handling

  • On VM exit, read-only fields in VMCS/VMCB are updated with details of exception

    Exception NumberError Code (if exists)
    IntelVM-exit interruption informationVM-exit interruption error code
    AMDEXITCODEEXITINFO1
    • Intel: πŸ“–25.9.2 Information for VM Exits Due to Vectored Events
    • AMD: πŸ“–15.12 Exception Intercepts
  • The hypervisor can inject exception to deliver what would have been delivered to the guest

    • Intel: πŸ“–27.6 EVENT INJECTION
    • AMD: πŸ“–15.20 Event Injection
  • In our case, we will abort the current fuzzing iteration and revering the guest state