Major cleanup and prepare for new hv exploit.

This commit is contained in:
Andy Nguyen
2026-05-16 09:43:48 +02:00
parent 85a16afa80
commit fbe5ae0c32
24 changed files with 210 additions and 326 deletions

View File

@@ -2,18 +2,14 @@
#define HV_DEFEAT_0304_H
#include "iommu.h"
#include <stdint.h>
int hv_defeat_0304(void);
int stage1_tmr_relax(void);
int stage2_find_vmcbs(void);
uint64_t get_vmcb(int core);
int iommu_selftest(void);
int stage3_patch_vmcbs(void);
int stage4_force_vmcb_reload(void);
int stage5_remove_xotext(void);
int stage6_kernel_pmap_invalidate_all(void);
int stage7_install_kexec(void);
int kexec(uint64_t fptr);
int stage2_patch_vmcbs(void);
int stage3_force_vmcb_reload(void);
int stage4_remove_xotext(void);
int stage5_kernel_pmap_invalidate_all(void);
int stage6_install_kexec(void);
#endif