8000 GitHub - Blackhex/Arm64Emu: Windows Arm64/Arm64EC emulator · GitHub
[go: up one dir, main page]

Skip to content
BlackhexPublic

About

Windows Arm64/Arm64EC emulator

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Arm64Emu

Windows x64 development workspace for Qiling and its local Unicorn backend. The Qiling/ and Unicorn/ Git submodules record independent upstream revisions.

Prerequisites

  • Git, PowerShell 7 (pwsh), and x64 Python 3.13 with the py launcher.
  • Visual Studio 2022 Community with C++ build tools, a Windows SDK, and its bundled CMake. Adjust the executable paths in .vscode/tasks.json for other Visual Studio installations.
  • Internet access for initial Python dependencies and Qiling rootfs fixtures.

After cloning this parent repository, initialize its source submodules:

git submodule update --init

Open this root folder in VS Code. Build output goes into build/, and the shared Python environment goes into .venv/; neither is tracked by Git.

Tasks

Task Result
Build/Unicorn/Host/Release / Build/Unicorn/Host/Debug Build only the native Unicorn host backend.
Build/Qiling/Host/Release / Build/Qiling/Host/Debug Install editable Qiling and its dependencies, and verify the existing local backend without building Unicorn. Requires the matching Unicorn host configuration to have been built once.
Build/Host/Release / Build/Host/Debug Build Unicorn first, then prepare and verify Qiling against that host backend.
Build/Qiling/Test/Release / Build/Qiling/Test/Debug Build every backend-independent Windows guest binary used by the configured Qiling tests. Both tasks produce the same guest outputs.
Build/All/Release / Build/All/Debug Build the selected host environment and all Qiling guest test binaries. Release is the default build.
Build/Qiling/Test/Windows ARM64 C MT Build the guest /MT ARM64 PE sample at build/guests/arm64_windows/hello.exe, independent of backend configuration.
Build/Qiling/Test/Windows ARM64 C MD Build the separate /MD /arch:armv8.0 ARM64 PE sample at build/guests/arm64_windows_md/hello.exe, independent of backend configuration.
Build/Qiling/Test/Windows ARM64 C++ Build all eight ARM64 C++ sample variants under build/guests/arm64_windows_cpp, covering /MT and /MD across the four supported workloads.
Build/Qiling/Test/Windows ARM64EC Foundation Build the no-CRT Windows ARM64EC/x64 foundation sample set under build/guests/arm64ec_windows.
Build/Qiling/Test/Windows ARM64EC Runtime Build all six normal C/C++ runtime/type identities under build/guests/arm64ec_windows_runtime.
Setup/Windows ARM64EC runtime rootfs Collect the separately validated ARM64EC runtime dependency closure into Qiling/examples/rootfs/arm64ec_windows_runtime.
Verify/Windows ARM64EC runtime rootfs Verify installed runtime identities and dependency closures without original acquisition directories.
Run/Windows ARM64EC runtime/Release / Run/Windows ARM64EC runtime/Debug Choose a runtime identity and run explicit hybrid mode with its dedicated profile; defaults to uncached execution.
Test/Unicorn/Native/Release / Test/Unicorn/Native/Debug Run Unicorn's native CTest engine and CPU suites.
Test/Unicorn/Python/Release / Test/Unicorn/Python/Debug Run the strict Python binding memory-map and callback-exception regressions.
Test/Qiling/Linux ARM64/Release / Test/Qiling/Linux ARM64/Debug Run Qiling's CPU-model checks and dynamic/static ARM64 Linux ELF tests.
Test/Qiling/Windows ARM64 C MT/Release / Test/Qiling/Windows ARM64 C MT/Debug Run the focused Windows ARM64 loader, ABI, state, and real /MT C acceptance selection.
Test/Qiling/Windows ARM64 C MD/Release / Test/Qiling/Windows ARM64 C MD/Debug Run native dynamic CRT unit, integration, workflow, and cache checks for the /MD ARM64 sample.
Test/Qiling/Windows ARM64 C++/Release / Test/Qiling/Windows ARM64 C++/Debug Run both-linkage ARM64 C++ runtime, exception, native unwind, and cache workflow tests.
Test/Qiling/Windows ARM64EC Foundation/Release / Test/Qiling/Windows ARM64EC Foundation/Debug Run the ARM64EC foundation tests and integration matrix.
Test/Qiling/Windows ARM64EC Runtime/Release / Test/Qiling/Windows ARM64EC Runtime/Debug Run the foundation/runtime contracts and uncached/cold/warm matrices.
Test/All/Release / Test/All/Debug Run every configured Unicorn and Qiling test task for the selected backend. Release is the default test.
Run/Release / Run/Debug Build and run the native Unicorn ARM64 sample, then Qiling's ARM64 Linux Hello World using the same backend configuration.
Run/Windows ARM64/Release / Run/Windows ARM64/Debug Run the guest /MT ARM64 PE sample through Qiling with the selected local Unicorn backend after rootfs verification.
Run/Windows ARM64 MD/Release / Run/Windows ARM64 MD/Debug Run the guest /MD ARM64 PE sample through Qiling with the selected local Unicorn backend after dynamic-rootfs verification.
Run/Windows ARM64 C++/Release / Run/Windows ARM64 C++/Debug Run the selected ARM64 C++ /MT or /MD workload through Qiling with the shared C++ profile and selected backend.
Run/Windows ARM64EC/Release / Run/Windows ARM64EC/Debug Choose one ARM64EC foundation sample and run it through qltool run --windows-arm64ec with the selected backend.
Setup/Qiling rootfs Initialize Qiling's nested rootfs submodule at its recorded revision; test and Qiling run tasks invoke this automatically. The initial download can be large.
Setup/Windows ARM64 rootfs Prepare the Release workspace environment, then prompt for an ARM64 System32 source directory and a prepared registry-hive directory, and collect the exact DLLs and hives into Qiling/examples/rootfs/arm64_windows. This task does not download files or request elevation.
Verify/Windows ARM64 rootfs Prepare the Release workspace environment, then re-validate Qiling/examples/rootfs/arm64_windows with the strict manifest, DLL hashes, registry hashes, and the current /MT sample-derived preload set.
Setup/Windows ARM64 MD rootfs Collect the pinned Windows 11 ARM64 UCRT and the /MD sample's actual dynamic dependencies into the isolated Qiling/examples/rootfs/arm64_windows_md fixture.
Verify/Windows ARM64 MD rootfs Re-validate the isolated dynamic fixture, file hashes, and runtime closure without requiring the original source directories.
Setup/Windows ARM64 C++ rootfs Collect the pinned Windows 11 UCRT plus the current ARM64 C++ sample-set dependency closure into the isolated Qiling/examples/rootfs/arm64_windows_cpp fixture.
Verify/Windows ARM64 C++ rootfs Re-validate the installed ARM64 C++ fixture, current sample identities, and their recorded dependency closure without requiring the original source directories.
Setup/Windows ARM64EC rootfs Collect the ARM64EC foundation dependencies into the isolated Qiling/examples/rootfs/arm64ec_windows fixture.
Verify/Windows ARM64EC rootfs Re-validate the installed ARM64EC fixture, sample identities, and dependency closure without requiring original acquisition directories.
Clean/Release / Clean/Debug Remove native outputs for that configuration, retaining sources and the Python environment.

Separate Test/Unicorn/*, Test/Qiling/*, and Run/Unicorn/* / Run/Qiling/* tasks are also available. Test and run tasks use Build/Host/* plus only their required guest builder, so focused workflows stay narrow. The original native x86-64 sample and sample-picker tasks remain available. Build/All/* and Test/All/* are intentionally comprehensive aggregates; select an owning host, guest-build, or test task for a narrower operation.

The combined tests are focused integration checks, not Qiling's complete multi-platform suite. Qiling's sample should print Hello, World!; no ARM64 hardware or Linux VM is needed.

Local Backend

Upstream Qiling pins the packaged Unicorn dependency to 2.1.3. Setup respects that metadata when installing dependencies, without editing either submodule. The root tasks explicitly override runtime imports with PYTHONPATH=Unicorn/bindings/python and select build/Release or build/Debug through LIBUNICORN_PATH, so they execute the checked-out Unicorn sources instead of the dependency wheel. Outside these tasks, set both variables to absolute workspace paths to select the same local backend.

Build verification checks Qiling's editable import, Unicorn's source import, the actual DLL loaded by ctypes, and ARM64 support. pip check validates the installed dependency metadata; the integration tests exercise compatibility with the overridden source backend. This does not establish compatibility with Qiling's entire supported platform set.

The Windows ARM64 guest build is separate from the backend configuration. It emits the default /MT sample under build/guests/arm64_windows, while the separate Build/Qiling/Test/Windows ARM64 C MD task emits the /MD guest under build/guests/arm64_windows_md. Run/Windows ARM64/*, Test/Qiling/Windows ARM64 C MT/*, Run/Windows ARM64 MD/*, and Test/Qiling/Windows ARM64 C MD/* switch only the local Unicorn DLL through LIBUNICORN_PATH=build/Release or build/Debug.

To verify an existing build without reinstalling Python dependencies:

& ./.vscode/setup.ps1 -Configuration Release -VerifyOnly
& ./.vscode/setup.ps1 -Configuration Debug -VerifyOnly

The build tasks do not fetch or reset the source submodules. Their gitlinks record commits, not uncommitted edits: commit and publish submodule changes separately before recording updated revisions in the parent repository.

Windows ARM64 Rootfs

The local Qiling/examples/rootfs/arm64_windows directory is populated with files from Microsoft's official Windows 11 ARM64 ISO. This rootfs is now runnable for one narrow, verified scenario: the local /MT ARM64 hello.exe sample running through Qiling's native ARM64 PE view with the workspace Unicorn backend. It is not a general Windows compatibility claim.

  • Source: Windows 11 25H2 English, image index 1 (Home), build 26200.8037.
  • ISO: Win11_25H2_English_Arm64_v2.iso, 7,994,415,104 bytes. Its SHA-256 matched Microsoft's published value: 638AA2C88E94385B00F4F178D071E3DF0B7D9E335577A83BD533B7F2EB65ADF0.
  • Payload: 3,218 unmodified System32 DLLs, approximately 2.36 GiB, and five genuine offline registry hives. Every copied DLL and hive was hash-checked against the extracted image.
  • HARDWARE is an explicitly empty hive created with Microsoft's offline registry API. The installation image does not contain this boot-generated hive; no x64 host hardware values were copied. Qiling's registry loader can parse all six prepared hives, but hardware registry contents are not modeled.
  • The previously built /MT ARM64 sample and its map were copied under bin/ during acquisition only; the live build, verify, run, and test tasks use the current outputs at build/guests/arm64_windows/hello.exe and .map.
  • Large media and extracted sources remain in D:/Arm64Emu-cache/windows-arm64; no Windows installation, boot, or elevation was needed. This is a local acquisition note, not a runtime requirement.

The local acquisition manifest still records the broader copied payload hashes and origins, and the strict runtime manifest now validates the exact /MT sample dependency set. At present that manifest contains exactly three preloaded DLLs: ntdll.dll, KernelBase.dll, and kernel32.dll, each accepted as arm64x-native with CHPE metadata version 2. The ISO/rootfs acquisition note stays at build 26200.8037, but the structured runtime manifest records the actual DLL file versions separately: kernel32.dll is 10.0.26100.7920, while KernelBase.dll and ntdll.dll are 10.0.26100.8036. It does not preload ucrtbase.dll or mscoree.dll for this sample.

The effective default Unicorn ARM64 CPU model reported by Uc.ctl_get_cpu_model() in this workspace is UC_CPU_ARM64_A72 (2). The focused Windows ARM64 tasks run with the checked-out Unicorn Python bindings and either the Release or Debug workspace DLL, so guest coverage and backend configuration stay explicit.

Typical non-interactive verification and run commands are:

pwsh -NoProfile -File ./.vscode/build-windows-arm64.ps1
& ./.venv/Scripts/python.exe ./Qiling/examples/scripts/dllscollector.py --arch arm64 --rootfs ./Qiling/examples/rootfs/arm64_windows --sample ./build/guests/arm64_windows/hello.exe --verify-only
$env:PYTHONPATH = "$PWD/Unicorn/bindings/python"
$env:LIBUNICORN_PATH = "$PWD/build/Release"
& ./.venv/Scripts/python.exe ./Qiling/qltool run -f ./build/guests/arm64_windows/hello.exe --rootfs ./Qiling/examples/rootfs/arm64_windows --verbose off

From Qiling/tests, the exact acceptance selectors are test_pe.PETest.test_pe_win_arm64_hello_static and test_pe.PETest.test_pe_win_arm64_hello_static_cached. From Qiling/, the equivalent names are tests.test_pe.PETest.test_pe_win_arm64_hello_static and tests.test_pe.PETest.test_pe_win_arm64_hello_static_cached.

Windows ARM64 Dynamic CRT

The native C Hello World also has a separate /MD /arch:armv8.0 build. It uses normal CRT startup and real Windows 11 ARM64 UCRT formatting on Cortex-A72. Debug selects the host Unicorn DLL; both backend configurations use the same release-CRT /MD guest, not /MDd.

Run Build/Qiling/Test/Windows ARM64 C MD, then Setup/Windows ARM64 MD rootfs once. The setup is implemented by .vscode/setup-windows-arm64-md.ps1, and run/test use the opt-in profile Qiling/examples/profiles/windows_arm64_md.ql. The setup requires the retained, Microsoft-signed Windows 11 23H2 ARM64 ucrtbase.dll with SHA-256 5e693cedd61141542b3ba319cf24d91d2915ee27ed6b1a0b8e11b5d289359cf9, downloaded from https://msdl.microsoft.com/download/symbols/ucrtbase.dll/15FCE4811f3000/ucrtbase.dll, and retained locally at build/windows11-arm64-23h2-ucrt/ucrtbase.dll. The script rejects mismatched downloads by hash. It also requires the ARM64 VC runtime directory. It reuses copies of existing ARM64 Windows system files and hives; nothing is collected into the static fixture. The setup script's -System32, -Registry, -Ucrt, and -VcRuntimeDirectory options select explicit sources, while -VerifyOnly checks the installed fixture without requiring those source directories.

Use Run/Windows ARM64 MD/Release or Run/Windows ARM64 MD/Debug to run it, and the matching Test/Qiling/Windows ARM64 C MD/* tasks for native initialization, formatting, normal exit, and uncached/cold/warm acceptance. Run and test use the same native CRT profile. Existing static and default Linux/native tasks are unchanged.

Dynamic outputs live under build/guests/arm64_windows_md; runtime files live under Qiling/examples/rootfs/arm64_windows_md. Both are private, ignored local artifacts. The profile is opt-in. Explicit CALL overrides still replace APIs. ENTER and EXIT observers use declared prototypes and native return timing. Unknown native prototypes can still be observed with address hooks. Do not distribute Microsoft binaries or hive contents. This verifies the selected C workload, not general C++, exception unwinding, or arbitrary Windows 11 DLL compatibility.

Windows ARM64 C++

The C++ workflows build the same sources with /MT and /MD, using /EHsc /GR /arch:armv8.0. Choose Hello World, type/lifetime checks, or exception/RAII checks in /Od or /O2 form. Both linkage choices are available with the Release and Debug host backends; those backends do not select debug CRT linkage.

Run Build/Qiling/Test/Windows ARM64 C++, then Setup/Windows ARM64 C++ rootfs. Use Run/Windows ARM64 C++/Release or Run/Windows ARM64 C++/Debug and select the linkage and workload. The matching Test/Qiling/Windows ARM64 C++/* tasks include both linkages, native context probes, and per-build cold/warm checks.

C++ outputs are isolated below build/guests/arm64_windows_cpp/MT and MD. The private fixture is Qiling/examples/rootfs/arm64_windows_cpp; setup records each sample's dependencies and their union. /MT does not force-load DLLs needed only by /MD. Existing C and default native/Linux workflows are unchanged.

The build task calls .vscode/build-windows-arm64.ps1 with -SampleSet Cpp. The setup and verify tasks call .vscode/setup-windows-arm64-md.ps1 with -SampleSet Cpp, and verification adds -VerifyOnly so it stays independent of the original source directories. That setup script also accepts an optional -SampleManifest override for a different samples.json, along with the same -System32, -Registry, -Ucrt, -VcRuntimeDirectory, and -Rootfs source overrides used for explicit collection. The run tasks use the opt-in profile Qiling/examples/profiles/windows_arm64_cpp.ql. Use the existing pinned Windows 11 23H2 ARM64 ucrtbase.dll retained at build/windows11-arm64-23h2-ucrt/ucrtbase.dll; the dynamic CRT section above records its concrete version, hash, and download source.

The C++ profile opts into required native runtime modules and the bounded ARM64 exception path. It does not enable general ARM64EC guests, software SEH, unhandled-exception parity, GUI applications, or an entire Windows system.

Windows ARM64EC Foundation

The ARM64EC workflows are opt-in and leave the ordinary x64, ARM64, dynamic CRT, C++, and default native/Linux tasks unchanged. Build the generated fixtures with Build/Qiling/Test/Windows ARM64EC Foundation, then run Setup/Windows ARM64EC rootfs once. The setup uses the same private Windows ARM64 acquisition inputs as the existing Windows workflows plus the guest-built peer DLLs, and Verify/Windows ARM64EC rootfs validates an installed fixture without requiring those source directories.

Run/Windows ARM64EC/Release and Run/Windows ARM64EC/Debug invoke Qiling/qltool run --windows-arm64ec and prompt for one sample: mixed-image, ec-exe-x64-dll, or x64-exe-ec-dll. The equivalent explicit Python construction is:

from qiling import Qiling
from qiling.arch.models import ARM64_CPU_MODEL
from qiling.const import QL_VERBOSE

ql = Qiling(
  ["build/guests/arm64ec_windows/mixed-image/fixture.exe"],
  "Qiling/examples/rootfs/arm64ec_windows",
  windows_arm64ec=True,
  cputype=ARM64_CPU_MODEL.ARM64_A72,
  verbose=QL_VERBOSE.OFF,
  libcache=False,
)
ql.run(timeout=120_000_000)

This foundation deliberately uses no CRT startup and runs uncached on Cortex-A72. --libcache, debugger modes, coverage collection, custom profiles, shellcode, multithreaded execution, and non-A72 CPU selections are unsupported for ARM64EC foundation runs and fail before partial work is reported as success. A hybrid CLI run must observe guest termination; a default zero OS exit field alone is not accepted as success.

The explicit ARM64EC hybrid path now has three bounded layers in this workspace: the preserved Stage 1 no-CRT foundation, the measured Stage 2 runtime/type and cache slice, and the Stage 3 compound standard C++ exception matrix. The completed matrix is integrated at parent c49332bd, Qiling b977f161, and Unicorn 8e9c1125. This explicit hybrid-mode claim does not change the native ARM64 support boundary or establish unrestricted ARM64/ARM64EC parity.

ARM64EC foundation outputs live under build/guests/arm64ec_windows; private installed foundation files live under Qiling/examples/rootfs/arm64ec_windows. The normal-runtime sample set is separate: generated samples and manifests live under build/guests/arm64ec_windows_runtime, and the installed runtime fixture lives under Qiling/examples/rootfs/arm64ec_windows_runtime. Build and setup reuse the existing scripts with the dedicated -SampleSet Arm64ECRuntime selection; do not commit or redistribute Microsoft DLLs or registry hives.

Exact runtime workflow tasks:

  • Build/Qiling/Test/Windows ARM64EC Runtime
  • Setup/Windows ARM64EC runtime rootfs
  • Verify/Windows ARM64EC runtime rootfs
  • Run/Windows ARM64EC runtime/Release
  • Run/Windows ARM64EC runtime/Debug
  • Test/Qiling/Windows ARM64EC Runtime/Release
  • Test/Qiling/Windows ARM64EC Runtime/Debug

The VS Code picker is windowsArm64EcRuntimeSample and accepts exactly these six literal IDs:

  • MT/c-hello
  • MD/c-hello
  • MT/cpp-hello
  • MD/cpp-hello
  • MT/cpp-types
  • MD/cpp-types

The runtime run tasks always use the explicit hybrid path: --windows-arm64ec plus the dedicated runtime profile. They default to uncached execution because they do not pass --libcache; add --libcache manually for the bounded cold/warm cache path.

pwsh -NoProfile -File ./.vscode/build-windows-arm64.ps1 -SampleSet Arm64ECRuntime
$env:PYTHONPATH = (Resolve-Path 'Unicorn/bindings/python')
$env:LIBUNICORN_PATH = (Resolve-Path 'build/Release')
pwsh -NoProfile -File ./.vscode/setup-windows-arm64-md.ps1 -SampleSet Arm64ECRuntime -VerifyOnly
$env:ARM64EMU_WORKSPACE = (Resolve-Path '.')
$env:PYTHONPATH = (Resolve-Path 'Unicorn/bindings/python')
$env:LIBUNICORN_PATH = (Resolve-Path 'build/Release')
./.venv/Scripts/python.exe Qiling/qltool run `
  -f build/guests/arm64ec_windows_runtime/MD/cpp-types/sample.exe `
  --rootfs Qiling/examples/rootfs/arm64ec_windows_runtime `
  --windows-arm64ec `
  --profile Qiling/examples/profiles/windows_arm64ec_runtime.ql `
  --timeout 300000000 `
  --verbose off

Validated scope in this workspace:

  • The compound exception matrix covers all 12 combinations of /MT or /MD, /Od or /O2, and mixed-image, ec-exe-x64-dll, or x64-exe-ec-dll. Each identity passed uncached, cold, and warm execution on both backends: 72 official Cortex-A72 guest records. Every record contains all ten same-ISA, cross-ISA, nested, rethrow, RAII, and incomplete-constructor cases with native handler/unwind, identity, cleanup, register, cache, audit, initialization, and qualified-exit evidence.
  • ARM64EC runtime/type and cache stage verified within the six-workload scope. The verified matrix includes /MT and /MD C/C++ normal startup and type/lifetime workloads, Release and Debug A72 backends, and uncached/cold/warm execution.
  • ARM64EC Stage 1 covers the three compiler-built no-CRT arrangements: mixed-image, ec-exe-x64-dll, and x64-exe-ec-dll. Each backend has the expected nine exclusive uncached Cortex-A72 foundation records: three baseline, three register-preservation, two patched-FFS, and one rebased selected-view run.
  • The ARM64EC foundation evidence executes compiler-owned entry, exit, fast-forward, and adjustor thunks. It covers concrete integer, floating-point, aggregate, and tested eight-argument variadic fixture calls, plus bounce calls, shared TEB and last-error state, native RtlCompareMemory, selected Arm64X views, required initializers, shared guest state, and observed guest exits.
  • On both Release and Debug backends, the selected ARM64 C++ matrix passes 78 tests per backend plus 24 exclusive cache records per backend, covering /MT and /MD across Hello World, type/lifetime, and /EHsc exception workloads.
  • The six ARM64EC runtime IDs retain separate evidence sets per backend: 18 runtime records, 9 mixed-cache records, 9 preserved foundation records, 6 direct CLI identities, and 24 native ARM64 C++ compatibility records.
  • Within those selected workloads, native ARM64 C++ output, allocation, RTTI and cross-casts, virtual dispatch, object lifetime, typed and nested catches, cross-function unwinding, rethrow identity, RAII cleanup, and incomplete-constructor cleanup are verified on Cortex-A72.
  • The strict runtime manifest verifies exactly three shared preloads for the shared Windows loader path: ntdll.dll, KernelBase.dll, and kernel32.dll.
  • Native-only ARM64 mode continues to accept the default AA64 view of selected Arm64X dependencies. ARM64EC execution is a separate explicit hybrid opt-in, not an alternate ABI path for ordinary native ARM64 runs.
  • The retained runtime build uses MSVC toolset 14.44.35207 and Windows SDK 10.0.26100.0. Its UCRT file is version 10.0.22621.7582, SHA-256 5e693cedd61141542b3ba319cf24d91d2915ee27ed6b1a0b8e11b5d289359cf9; msvcp140.dll and vcruntime140.dll have file version 14.44.35211.0. These private fixture identities do not imply arbitrary runtime-version support.
  • Hybrid cache entries use bounded JSON and binary *.arm64ec-cache1 records; the existing native *.cache2 format is unchanged. Warm loads reconstruct current-process state, rebind command-line and heap values, and rerun required initializers. Source bytes and modification times remain unchanged.
  • Final compatibility verification passed 831 Stage 1/2 tests, 115 native ARM64 /MT tests, 50 native ARM64 /MD tests, 78 native ARM64 C++ tests, 9 CPU/Linux tests, 28 ordinary x64 tests, 7 binding regressions and 12 native CTest executables per backend. The x64 runs retained only the two existing broken-wchar skips. Exact publication sets were independently reread.
  • VS Code qualification used the task now named Test/Qiling/Windows ARM64EC Runtime/Debug task. The task-output API was insufficient; the final command, OS exit and actual backend were independently attributed, and the concatenated terminal output was retained. Six real CLI identities passed separately per backend; this does not mean all seven task variants were executed through VS Code.
  • Windows ABI startup, process/thread setup, heap alignment, strict import resolution, guest module paths, metadata lookup, and ExitProcess are covered by the focused test_windows_arm64 module and the helper/acceptance tests above.

The measured Stage 2 acceptance used temporary performance-core affinity only for validation subprocesses. Default tasks, runtime policy and host-wide settings were unchanged. The Cortex-A72 guest, 300_000_000 microsecond public timeout, 10_000_000 assertion-runner instruction count, 30_000_000 microsecond initializer limit and 600 second hybrid child bound were not relaxed. Unrestricted slower host cores can miss the 30-second initializer deadline; this is not a host-independent performance guarantee.

For the current parity assessment and the bounded support matrix, see docs/windows-x64-arm64-support-matrix.md.

Current limits:

  • This is not unrestricted ARM64/ARM64EC parity. The completed Stage 3 matrix verifies the selected mixed-stack standard C++ exception cases, identities, compiler modes and cache modes; it is not a general Windows compatibility claim.
  • The preserved foundation tasks remain no-CRT and uncached by default. The separate runtime/type scope covers only the six identities above, while the exception matrix uses its own 12 identities. Neither adds a general scheduler, CFG enforcement, persistent snapshots, debugger integration, or arbitrary ARM64EC application compatibility.
  • Broad CRT compatibility outside the selected C and C++ workloads is unverified.
  • No general STL, threading, software SEH, unhandled-exception parity, full ARM64 unwind-format conformance, driver, GUI, or arbitrary-application compatibility claim is made here.
  • The HARDWARE hive stays intentionally empty because it is a runtime-generated hive, not a file present in the installation image.

The measured matrix, retained gates, revisions and evidence locations are recorded in the compound exception completion report.

The entire local rootfs is Git-ignored; do not commit or redistribute the Microsoft DLLs, hives, or extracted source payloads.

About

Windows Arm64/Arm64EC emulator

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

0