upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authorTomgamer <tomanhorak22@gmail.com>2026-11-22 15:25:38 +0100
committerTomgamer <tomanhorak22@gmail.com>2026-11-22 15:25:38 +0100
commit7baf4c21ac0cd74bfa9316dcdad6c030b0dea3d0 (patch)
tree4f2b67229cae73dab011d892b441c2c12375b6ab /runtime/src/pe_loader.cpp
parent003e78129303643a3fdc9e5f0e31a01b09759236 (diff)
D3D-238: refuse the heap descriptions the host refuses in CreateHeap
CreateHeap checked only for a null description and a zero size. A shared heap_desc_refusal now also refuses an alignment other than 0, 64 KiB and 4 MiB, a heap with all three DENY_* flags, and the heap properties that heap_properties_refusal already refuses for committed resources (a type outside the enum such as 0, a custom heap without a CPU page property or memory pool, a non-custom heap with either). CreateHeap1, a stub until now, wraps CreateHeap and refuses a protected session. Tests: direct E_INVALIDARG/S_OK checks on the standalone device for both methods, and host comparison cases in compare_invalid_arguments. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions