From bf66d87e0262988d3fbad7a2a968c1f788cc87b4 Mon Sep 17 00:00:00 2001 From: Max Raulea Date: Sun, 23 Aug 2026 15:17:38 +0200 Subject: [PATCH] New fail came up, so new fix --- hyperdbg/hyperhv/hyperhv.vcxproj | 2 ++ hyperdbg/hyperhv/hyperhv.vcxproj.filters | 6 ++++++ hyperdbg/linux/PORTING_STATUS.md | 8 ++++++++ 3 files changed, 16 insertions(+) diff --git a/hyperdbg/hyperhv/hyperhv.vcxproj b/hyperdbg/hyperhv/hyperhv.vcxproj index 4cd61ef2..51859208 100644 --- a/hyperdbg/hyperhv/hyperhv.vcxproj +++ b/hyperdbg/hyperhv/hyperhv.vcxproj @@ -148,6 +148,7 @@ + @@ -262,6 +263,7 @@ + diff --git a/hyperdbg/hyperhv/hyperhv.vcxproj.filters b/hyperdbg/hyperhv/hyperhv.vcxproj.filters index f7362361..167a802a 100644 --- a/hyperdbg/hyperhv/hyperhv.vcxproj.filters +++ b/hyperdbg/hyperhv/hyperhv.vcxproj.filters @@ -308,6 +308,9 @@ code\platform + + code\platform + code\memory @@ -607,6 +610,9 @@ header\platform + + header\platform + header\memory diff --git a/hyperdbg/linux/PORTING_STATUS.md b/hyperdbg/linux/PORTING_STATUS.md index ccd191bf..f091d453 100644 --- a/hyperdbg/linux/PORTING_STATUS.md +++ b/hyperdbg/linux/PORTING_STATUS.md @@ -1593,3 +1593,11 @@ declarations and failed Windows CI with C4013 (+/WX). Two independent causes: All Windows-guarded (`#ifdef HYPERDBG_ENV_WINDOWS` / `#if _WIN32`), so the Linux .ko is unaffected (PlatformDpc.o re-verified `CC` clean). Behavior-preserving. Confirmed against the CI log: hyperlog/hyperperf/hypertrace/kdserial link; hyperevade pch fix awaits a re-run. + +**Follow-up (same day) — hyperhv link:** with the C4013s cleared, hyperhv then failed at +link with LNK2019 `PlatformTimeQueryPerformanceCounter` (called by `Vmx.c` +`VmxCompatibleMicroSleep`). That wrapper lives in `PlatformTime.c`, which `hyperhv.vcxproj` +did not compile (only hyperlog/hyperkd did). Added `PlatformTime.c`/`.h` to +`hyperhv.vcxproj`(+filters). Checked hyperhv references no other Platform* wrapper whose TU +is missing (PlatformIo/Spinlock/Str unused), and the linker reported exactly 1 unresolved, +so this closes it. Linux unaffected (PlatformTime.o already active in the Kbuild).