-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove
opcode_length
and make_raw_hook
from public API
- Loading branch information
Showing
6 changed files
with
12 additions
and
35 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1 @@ | ||
#include <rcmp/memory.hpp> | ||
#include <rcmp/codegen.hpp> | ||
|
||
// returns relocated original address | ||
rcmp::address_t rcmp::make_raw_hook(rcmp::address_t original_function, rcmp::address_t wrapper_function) { | ||
static_cast<void>(original_function); | ||
static_cast<void>(wrapper_function); | ||
throw rcmp::error("rcmp::make_raw_hook is not implemented yet"); | ||
} | ||
|
||
std::size_t rcmp::opcode_length(rcmp::address_t address) { | ||
static_cast<void>(address); | ||
throw rcmp::error("rcmp::opcode_length is not implemented yet"); | ||
} | ||
/* Nothing here */ |
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.