Skip to content

.CopyOutArgument_ should not call a hooked function #240

@anporumb

Description

@anporumb

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions