From b7f9e68c90b6a6ab3fe8480256977b37851d2e20 Mon Sep 17 00:00:00 2001 From: Maschell Date: Tue, 13 Feb 2018 22:28:08 +0100 Subject: [PATCH] [Loader] Updated logging message --- loader/src/ModuleData.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/loader/src/ModuleData.cpp b/loader/src/ModuleData.cpp index 410e963..e0dc844 100644 --- a/loader/src/ModuleData.cpp +++ b/loader/src/ModuleData.cpp @@ -747,14 +747,14 @@ bool ModuleData::linkModuleElf(Elf *elf, uint8_t **space) { for(size_t j=0;jtype,(void*) hook->target); + DEBUG_FUNCTION_LINE("Saving hook of module \"%s\". Type: %08X, target: %08X\n",getName().c_str(),hook->type,(void*) hook->target); HookData * hook_data = new HookData((void *) hook->target,hook->type); addHookData(hook_data); } for(size_t j=0;j_function.name,getName().c_str(),entry->_function.library,entry->_function.target); + DEBUG_FUNCTION_LINE("Saving entry \"%s\" of module \"%s\". Library: %08X, target: %08X, call_addr: %08X\n",entry->_function.name,getName().c_str(),entry->_function.library,entry->_function.target, (void *) entry->_function.call_addr); EntryData * entry_data = new EntryData(entry->_function.name,entry->_function.library, (void *) entry->_function.target, (void *) entry->_function.call_addr); addEntryData(entry_data); }