mirror of https://github.com/x64dbg/TitanEngine
fixed getAddedDLLCount, getAddedAPICount to work with scylla
This commit is contained in:
parent
4bda97ecba
commit
22cc4da708
|
|
@ -16,6 +16,8 @@ bool scylla_importsValid();
|
|||
bool scylla_cutImport(DWORD_PTR apiAddr);
|
||||
int scylla_fixDump(WCHAR* dumpFile, WCHAR* iatFixFile, WCHAR* sectionName = L".scy");
|
||||
int scylla_fixMappedDump(DWORD_PTR iatVA, DWORD_PTR FileMapVA, HANDLE hFileMap);
|
||||
int scylla_getModuleCount();
|
||||
int scylla_getImportCount();
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /*__cplusplus*/
|
||||
|
|
|
|||
|
|
@ -18676,32 +18676,11 @@ __declspec(dllexport) void TITCALL ImporterAddNewOrdinalAPI(ULONG_PTR OrdinalNum
|
|||
}
|
||||
__declspec(dllexport) long TITCALL ImporterGetAddedDllCount()
|
||||
{
|
||||
//TODO scylla enable
|
||||
return 0;
|
||||
/*
|
||||
return(impDLLNumber + 1);
|
||||
*/
|
||||
return scylla_getModuleCount();
|
||||
}
|
||||
__declspec(dllexport) long TITCALL ImporterGetAddedAPICount()
|
||||
{
|
||||
//TODO scylla enable
|
||||
return 0;
|
||||
/*
|
||||
int i = 0;
|
||||
int CopyDummy = NULL;
|
||||
DWORD DLLNumber = NULL;
|
||||
long APINumber = NULL;
|
||||
|
||||
DLLNumber = impDLLNumber + 1;
|
||||
while(DLLNumber > NULL)
|
||||
{
|
||||
RtlMoveMemory(&CopyDummy, (LPVOID)(impDLLDataList[i][0] + 2 * sizeof ULONG_PTR), 4);
|
||||
APINumber = APINumber + CopyDummy - 1;
|
||||
DLLNumber--;
|
||||
i++;
|
||||
}
|
||||
return(APINumber);
|
||||
*/
|
||||
return scylla_getImportCount();
|
||||
}
|
||||
__declspec(dllexport) void* TITCALL ImporterGetLastAddedDLLName()
|
||||
{
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -17,8 +17,6 @@ AddNewDLL
|
|||
AddNewAPI
|
||||
AddNewOrdinal
|
||||
GetLastAddedDLLName
|
||||
GetAddedDllCount
|
||||
GetAddedAPICount
|
||||
EnumAddedData //useful for investigating complete iat moduleList
|
||||
EstimatedSize
|
||||
GetDLLIndexEx
|
||||
|
|
|
|||
Loading…
Reference in New Issue