jmpews / Dobby

a lightweight, multi-platform, multi-architecture hook framework.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

built-in plugin ImportTableReplace cannot be enabled with compile parameter '-DPlugin.ImportTableReplace=ON'

skervesen opened this issue · comments

use '-DPlugin.ImportTableReplace=ON' parameter to compile, but there is no DobbyImportTableReplace function in the compiled dynamic library.

commented

// int DobbyImportTableReplace(char *image_name, char *symbol_name, void *fake_func, void **orig_func);

DobbyImportTableReplace function is commented out in dobby_import_replace.h

if (Plugin.ImportTableReplace AND SYSTEM.Darwin)

Also, it looks like this CMake option is prepared for DobbyHook for the Darwin system.