Skip to content

Add test for detouring functions that return large primitive values on x86#99

Merged
0x0ade merged 1 commit into
MonoMod:masterfrom
ghorsington:master
Aug 10, 2022
Merged

Add test for detouring functions that return large primitive values on x86#99
0x0ade merged 1 commit into
MonoMod:masterfrom
ghorsington:master

Conversation

@ghorsington
Copy link
Copy Markdown
Contributor

Adds tests to verify that __thiscall return buffer is not generated for long return type on 32bit x86. This PR complements MonoMod/MonoMod.Common#28 (the unit test failure in this PR is fixed by that PR)

…longs) and large structs.

The test is mainly relevant for x86 where sizeof(long) > IntPtr.Size
@0x0ade 0x0ade merged commit 8fea484 into MonoMod:master Aug 10, 2022
desertofunknown pushed a commit to desertofunknown/openacai-monomod that referenced this pull request Jun 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants