Repository navigation
test: add msvc function-boundary fixtures for #384 - #385
Merged
Merged
Conversation
Minimal MSVC /O2 DLLs (x86, x64, arm64) with PDBs, xored, plus a manifest with the linker-map truth and SMDA 4.9.0's current failures, and the C sources. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HDZJnaEz52GwyRZzXP8Mya
Merged
4 tasks done
Contributor
|
Thanks, these reproduce exactly the table in the description on master. One correction for the README: With the fix for #384 on top, all six builds are 11/11 with and without the PDB. I'll add a regression test over these fixtures there once this is merged. |
This was referenced Oct 14, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
tests/msvc_smda384_corpus/: minimal MSVC-built DLLs that reproduce the function-boundary problems in #384, as data for whoever picks up the fix. No code changes and no tests yet. The fixtures are added only, and a regression test belongs with the fix.What is in it (1.4 MB)
byte ^ (index % 256)like the existing fixtures.manifest.jsonper fixture:expected_functions: the 11 functions ofcases.objfrom the linker map, with address, name and static / public;known_failures_smda_4_9_0: current results with and without the PDB.src/: the C sources. They were written for this purpose; no third-party or malware code.README.md: the three behaviours, which cases trigger them, and the build.Current SMDA 4.9.0 results against the map
retsplit off (case_b2_whitespace); a jump table in.textdecoded as code swallowscase_b4_aggregateretsplit off (case_b2_whitespace)case_a2_unistr,case_a3_concat)Build
windows-2025runner in a neutral directory./O2 /MD /Zi /Breproand/DLL /DEBUG:FULL /OPT:REF /OPT:NOICF /PDBALTPATH:%_PDB% /MAP.Refs #384.
🤖 Generated with Claude Code
https://claude.ai/code/session_01HDZJnaEz52GwyRZzXP8Mya