Skip to content

Graceful handling for invalid target function #14

@m417z

Description

@m417z

Currently, SlimDetours treats invalid instructions as if their size is 1 byte:

ASSERT(!"Invalid Instruction");
return pbSrc + 1;

I think it'd be better for SlimDetoursAttach to return an error in this case.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions