Use an effective trace import exclusion example #2669

Open
luckyteagirl wants to merge 1 commit from upstream-pr/2679 into main
luckyteagirl commented 2026-11-26 05:53:23 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by luckyteagirl on 2026-11-26T05:53:23Z.


The README's XCL_TRACE_IMPORTS example excluded GetTickCount, a system import already outside the hle selection. Use the HLE export VirtualAlloc so the exclusion demonstrates an observable filter change.

What is in it

  • Show a kernelx.dll HLE prefix exclusion alongside the existing gameinput inclusion.

Tested

  • Ran the current resolver's TraceFilter, trace_filter, and dll_key code in a standalone Rust harness on Windows. The old example selected VirtualAlloc, the new example excludes it, and both select VirtualFree and the gameinput test import.
  • git diff --check passed.

Regression run

  • Not applicable. This is a README-only correction.

Not tested

  • The Rust workspace suite, GPU tests, or a retail title run.

AI use

  • Codex (GPT-6.2 Sol) verified the example against the resolver and wrote the correction.
<!-- greyfinch-sync:ivall/xcl:issue:5504810929 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2679). Originally posted by [luckyteagirl](https://github.com/luckyteagirl) on 2026-11-26T05:53:23Z. --- The README's `XCL_TRACE_IMPORTS` example excluded `GetTickCount`, a system import already outside the `hle` selection. Use the HLE export `VirtualAlloc` so the exclusion demonstrates an observable filter change. **What is in it** - Show a `kernelx.dll` HLE prefix exclusion alongside the existing `gameinput` inclusion. **Tested** - Ran the current resolver's `TraceFilter`, `trace_filter`, and `dll_key` code in a standalone Rust harness on Windows. The old example selected `VirtualAlloc`, the new example excludes it, and both select `VirtualFree` and the `gameinput` test import. - `git diff --check` passed. **Regression run** - Not applicable. This is a README-only correction. **Not tested** - The Rust workspace suite, GPU tests, or a retail title run. **AI use** - Codex (GPT-6.2 Sol) verified the example against the resolver and wrote the correction.
github-actions[bot] commented 2026-11-30 08:42:56 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-30T08:42:56Z.


Nothing has happened on this PR for 3 days, so it is marked stale and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto main if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.

<!-- greyfinch-sync:ivall/xcl:comment:7273252486 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2679#issuecomment-7273252486). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-30T08:42:56Z. --- Nothing has happened on this PR for 3 days, so it is marked `stale` and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto `main` if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.
Foniass commented 2026-12-01 08:41:36 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T08:41:36Z.


Triage (#1607) – head 5d994c1

No open or merged PR makes the same change. The example matches TraceFilter::wants in resolver.rs (lowercased dll!Function prefix, so -kernelx.dll!VirtualAlloc also excludes other names starting with VirtualAlloc, as the new text says). The doc comment on XCL_TRACE_IMPORTS in resolver.rs still shows the old -kernelx!GetTickCount example. No problems found in the diff.
Recommendation: keep open.

AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

<!-- greyfinch-sync:ivall/xcl:comment:7305653102 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2679#issuecomment-7305653102). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T08:41:36Z. --- **Triage (#1607)** – head 5d994c1 No open or merged PR makes the same change. The example matches `TraceFilter::wants` in `resolver.rs` (lowercased `dll!Function` prefix, so `-kernelx.dll!VirtualAlloc` also excludes other names starting with `VirtualAlloc`, as the new text says). The doc comment on `XCL_TRACE_IMPORTS` in `resolver.rs` still shows the old `-kernelx!GetTickCount` example. No problems found in the diff. Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
Decodere commented 2026-12-02 08:58:27 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Decodere on 2026-12-02T08:58:27Z.


merge-check
base: 1c8b551475
head: 5d994c1aad
merge: clean (git merge --no-edit onto 1c8b5514, git diff --check clean; README.md +2/-1)
build: not run (Tier 0 docs-only diff touching only README.md; no Rust or script code changed)
tests: not run (Tier 0 docs-only diff; verified TraceFilter::wants directly in crates/xcl/src/resolver.rs:282-318)
review: Read the full diff (README.md, +2/-1) and verified against live TraceFilter::wants (crates/xcl/src/resolver.rs:307-317): exclusion and inclusion words match lowercased dll!Function prefixes (full.starts_with(p.as_str())), so -kernelx.dll!VirtualAlloc accurately excludes imports from kernelx.dll whose names start with VirtualAlloc, and gameinput includes imports from gameinput. Clearer and accurate against live code; no competing PR edits this example.
performance: none (documentation only; zero runtime, frame-time, or memory impact)
verdict: safe to merge
hardware / tool and model: NVIDIA GeForce RTX 4060 8 GB (driver 621.40), Intel Core i5-11400F, 32 GB RAM, Windows 11 Build 26200, Python 3.15.2, Rust 1.100.1 MSVC, DXC 1.9.2602.17 / Antigravity (Gemini 4 Neon)

<!-- greyfinch-sync:ivall/xcl:comment:7340184220 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2679#issuecomment-7340184220). Originally posted by [Decodere](https://github.com/Decodere) on 2026-12-02T08:58:27Z. --- merge-check base: 1c8b551475e1e7bfe48f94448492a4c3544a2e0f head: 5d994c1aad53e6997bd1f77256471f0b871b6db5 merge: clean (`git merge --no-edit` onto `1c8b5514`, `git diff --check` clean; `README.md` +2/-1) build: not run (Tier 0 docs-only diff touching only `README.md`; no Rust or script code changed) tests: not run (Tier 0 docs-only diff; verified `TraceFilter::wants` directly in `crates/xcl/src/resolver.rs:282-318`) review: Read the full diff (`README.md`, +2/-1) and verified against live `TraceFilter::wants` (`crates/xcl/src/resolver.rs:307-317`): exclusion and inclusion words match lowercased `dll!Function` prefixes (`full.starts_with(p.as_str())`), so `-kernelx.dll!VirtualAlloc` accurately excludes imports from `kernelx.dll` whose names start with `VirtualAlloc`, and `gameinput` includes imports from `gameinput`. Clearer and accurate against live code; no competing PR edits this example. performance: none (documentation only; zero runtime, frame-time, or memory impact) verdict: safe to merge hardware / tool and model: NVIDIA GeForce RTX 4060 8 GB (driver 621.40), Intel Core i5-11400F, 32 GB RAM, Windows 11 Build 26200, Python 3.15.2, Rust 1.100.1 MSVC, DXC 1.9.2602.17 / Antigravity (Gemini 4 Neon)
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/2679:upstream-pr/2679'
git switch 'upstream-pr/2679'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/2679'
git switch 'upstream-pr/2679'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2679'
git switch 'upstream-pr/2679'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2679'
git switch 'main'
git merge --squash 'upstream-pr/2679'
git switch 'main'
git merge --ff-only 'upstream-pr/2679'
git switch 'main'
git merge 'upstream-pr/2679'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl!2669
No description provided.