Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.CopyOutArgument_ should not call a hooked function #240

Open
anporumb opened this issue Dec 14, 2021 · 1 comment
Open

.CopyOutArgument_ should not call a hooked function #240

anporumb opened this issue Dec 14, 2021 · 1 comment

Comments

@anporumb
Copy link
Contributor

When

STRICT_EXPECTED_CALL(function(args...))
    .CopyOutArgument_gaga(&source, sizeof(source));

is used AND function has a hook registered the hook WILL get called. This should not happen, and CopyOutArgument should behave like .SetReturn() and not invoke the hooked function.

@anporumb
Copy link
Contributor Author

Rediscovered this in 2024 March 25, so 832 days after initially reporting the bug.

I have nothing to add to my initial description.

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

No branches or pull requests

1 participant