MCPcopy Create free account
hub / github.com/Wemino/MarkerPatch / create_inline

Function create_inline

include/safetyhook/safetyhook.cpp:293–299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291
292namespace safetyhook {
293InlineHook create_inline(void* target, void* destination, InlineHook::Flags flags) {
294 if (auto hook = InlineHook::create(target, destination, flags)) {
295 return std::move(*hook);
296 } else {
297 return {};
298 }
299}
300
301MidHook create_mid(void* target, MidHookFn destination, MidHook::Flags flags) {
302 if (auto hook = MidHook::create(target, destination, flags)) {

Callers 1

CreateHookFunction · 0.50

Calls 1

createFunction · 0.85

Tested by

no test coverage detected