tests: open vm_copy_queue_check heaps from mapped address #3651
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!3651
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3649"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Ammmae0x on GitHub · 2026-11-30 21:14 UTC · original
Ammmae0x:tests/vm-copy-queue-address-heap→main· +273 −2 · 4 files · 1 commits · merged 2026-12-02 02:09 UTCWhat changed
tests/vm_copy_queue_check.cpp(SectionPage::init): maps the 64 KiB section withFILE_MAP_ALL_ACCESSand opens the heap withID3D12Device3::OpenExistingHeapFromAddress(canonical, IID_PPV_ARGS(&heap))instead ofOpenExistingHeapFromFileMapping(section, ...), mirroring #2393 /7092683aintests/vm_translation_check.cpp. NoOpenExistingHeapFromFileMappingcalls are left in the file.PAGE_READWRITEsection creation, theD3D12_RESOURCE_FLAG_ALLOW_CROSS_ADAPTERstaging buffer, the error returns, the destructor order (staging.Reset(); heap.Reset();beforeUnmapViewOfFile(canonical); CloseHandle(section);), and theSectionWindowremap ofpage->sectionviaMapViewOfFile3. All four CTest families (vm_copy_queue_*,vm_page_provenance_*,vm_raw_srv_*,vm_raw_uav_*) remain registered inCMakeLists.txtand dispatched bymain().docs/experiments/vm-copy-queue-address-heap.md,tests/vm_copy_queue_heap_check.py(Linux source audit plus mutation audit),tests/checks/python-linux/vm_copy_queue_heap.txt.Tests
Linux (
/tmp/pe-env):tests/vm_copy_queue_heap_check.py: contract passes, mutation audit 8/8 killedtests/form_coverage_check.py: passedtests/docs_links_check.py: passed (192 Markdown files, 745 links)tests/bidi_controls_check.py: passed (2762 files, no bidirectional controls)tools/run_checks_parallel.py tests/vm_copy_queue_heap_check.py: all 1 checks passedRefs #2234
Windows Verification (
f5983a07)AI-assisted.