mirror of https://github.com/x64dbg/TitanEngine
the callback for invalid imports is now working again
This commit is contained in:
parent
d04759b242
commit
d732ec290e
|
|
@ -11,7 +11,7 @@ const BYTE SCY_ERROR_IATNOTFOUND = -4;
|
|||
extern "C" {
|
||||
#endif /*__cplusplus*/
|
||||
int scylla_searchIAT(DWORD pid, DWORD_PTR &iatStart, DWORD &iatSize, DWORD_PTR searchStart, bool advancedSearch);
|
||||
int scylla_getImports(DWORD_PTR iatAddr, DWORD iatSize, DWORD pid);
|
||||
int scylla_getImports(DWORD_PTR iatAddr, DWORD iatSize, DWORD pid, LPVOID invalidImportCallback = NULL);
|
||||
bool scylla_importsValid();
|
||||
int scylla_fixDump(WCHAR* dumpFile, WCHAR* iatFixFile, WCHAR* sectionName = L".scy");
|
||||
int scylla_fixMappedDump(DWORD_PTR iatVA, DWORD_PTR FileMapVA, HANDLE hFileMap);
|
||||
|
|
|
|||
|
|
@ -19592,7 +19592,7 @@ __declspec(dllexport) long TITCALL ImporterAutoFixIATExW(DWORD ProcessId, wchar_
|
|||
}
|
||||
}
|
||||
|
||||
scylla_getImports(iatStart, iatSize, ProcessId);
|
||||
scylla_getImports(iatStart, iatSize, ProcessId, UnknownPointerFixCallback);
|
||||
|
||||
if(!scylla_importsValid()) {
|
||||
//TODO call UnknownPointerFixCallback for every bad import, scylla_wrapper needs to be enhanced tho
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue