Repository navigation
Conversation
|
Tested on \5a26eb9db5516e8bdcd133140d993ec89a79a256\ (\5a26eb9, clean PR head):
|
|
Test report for Tested
Not tested
AI use: Claude Code with Claude Opus 5.5 ran the build, the suite and the regression run and wrote this report at my request. |
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
Code review on Remaining before merge: An AMD verification pass on |
TestedTested
The debug lib unit-test harness was the only test executable with Not testedThe release workspace suite and release lib harness, the other 18 GNU integration targets, AMD/Intel, and retail-title or external sample paths. The ignored tests and the skipped branches above are outside the measured coverage. AI useDeepSeek Harness (DS V4.1 FLASH) ran the initial tests. Codex desktop (GPT-6.2 SOL) independently reran the tests, audited the PE headers, and drafted this report. |
|
Nothing has happened on this PR for 3 days, so it is marked |
|
No open or merged PR makes the same change: main's AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human. |
`crates/xcl/build.rs` previously emitted `cargo:rustc-link-arg-bin=xcl=...` only, leaving the crate's integration test binaries linked with Windows high-entropy ASLR (where `VirtualAlloc(NULL)` lands above 2^40 instead of matching `xcl.exe`'s low-VA layout from xcl-dev#631). Also emit `cargo:rustc-link-arg-tests=/HIGHENTROPYVA:NO` (MSVC) and `cargo:rustc-link-arg-tests=-Wl,--disable-high-entropy-va` (GNU) in `crates/xcl/build.rs`, and extend `crates/xcl/tests/low_va.rs` to verify both `xcl.exe` and the integration-test executable clear `IMAGE_DLLCHARACTERISTICS_HIGH_ENTROPY_VA` and reserve `VirtualAlloc(NULL)` strictly below 2^40. Fixes xcl-dev#2263 Assisted-by: Google Antigravity (Gemini 4 Neon)
|
Keepalive: clean rebase onto |
5a26eb9 to
e604bff
Compare
|
Follow-up review (head e604bff, since 5a26eb9, diff read, not a merge-check):
New: none. AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point. |
What is in it
Fixes #2263.
crates/xcl/build.rspreviously emittedcargo:rustc-link-arg-bin=xcl=...only, leaving the crate's integration test binaries linked with Windows high-entropy ASLR (whereVirtualAlloc(NULL)lands above2^40instead of matchingxcl.exe's low-VA layout from #631).crates/xcl/build.rs: also emitcargo:rustc-link-arg-tests=/HIGHENTROPYVA:NO(MSVC) andcargo:rustc-link-arg-tests=-Wl,--disable-high-entropy-va(GNU) alongside the existingcargo:rustc-link-arg-bin=xcldirectives.crates/xcl/tests/low_va.rs: shareassert_no_high_entropy_va(&Path)betweenxcl_exe_is_linked_without_high_entropy_vaand a newintegration_tests_are_linked_without_high_entropy_vatest that checks bothstd::env::current_exe()'s PEDllCharacteristics & IMAGE_DLLCHARACTERISTICS_HIGH_ENTROPY_VA == 0and a liveVirtualAlloc(NULL, 64 KiB, MEM_RESERVE, PAGE_READWRITE)(freed withVirtualFree) landing strictly below1usize << 40, while keeping the existing LAA/CUI and TLS/exception directory tests intact.Tested
621.40, wave32), Intel Core i5-11400F, 32 GB RAM, Windows 11 Build 26200, Rust1.100.1(stable-x86_64-pc-windows-msvc), DXC1.9.2602.17.origin/main(1c8b551475e1e7bfe48f94448492a4c3544a2e0f) ate604bff9edf952830d82446a362519f4edf2ae6f:cargo build --workspace(debug): ok.cargo test --workspace --no-fail-fast -- --test-threads=4 --nocapture(43 targets): 2909 passed, 1 failed, 51 ignored (+1 passed vs cleanorigin/main1c8b5514: 2908 passed, 1 failed, 51 ignored).tests/low_va.rs: 4/4 passed (integration_tests_are_linked_without_high_entropy_va,xcl_exe_is_linked_without_high_entropy_va,xcl_exe_is_linked_with_large_address_aware_and_cui_subsystem,xcl_exe_contains_valid_tls_and_exception_directories).origin/main1c8b5514):tests/gpu_two_pass_cache_e2e.rs :: two_pass_driver_cache_reuses_both_passes_and_recovers_corrupt_blobs(gpu_two_pass_cache_e2e.rs:584,left: 1, right: 0), which reproduced 2/2 on cleanorigin/main1c8b5514on this RTX 4060.SKIPPEDlines (28 total, identical toorigin/main1c8b5514): 22no wave64(8 direct + 14lower_dxilsubcases), 2no d3d12SDKLayers.dll, 1no D3D12 debug layer, 2no heap windows, 1cannot disable the driver cache (Windows Developer Mode is required).cargo build --release -p xcl: ok.build.rschange was also confirmed previously (DllCharacteristics 0x8160: high-entropy VA is on).Regression run
Paired 60 s retail title runs with
scripts/smoke.ps1(release build, same title29640639, clean working tree) onorigin/main(1c8b551475e1e7bfe48f94448492a4c3544a2e0f) and this PR (e604bff9edf952830d82446a362519f4edf2ae6f):Baseline (
origin/main):PR head (
e604bff9):Not tested
x86_64-pc-windows-gnutoolchain on this rebased commit (-Wl,--disable-high-entropy-vamirrors the existingxcl.exedirective inbuild.rs, tested here onx86_64-pc-windows-msvc).#[ignore]tests on this machine.AI use
Antigravity (Gemini 4 Neon) wrote the change, tests, rebase onto
main, and this PR description; all builds, workspace tests, and paired 60 s RTX 4060 smoke runs were executed locally on the hardware listed above.