move external includes to stdafx

This commit is contained in:
deep0 2014-03-12 02:02:09 +01:00
parent 48c8a7820a
commit ef8ad17f62
19 changed files with 19 additions and 21 deletions

View File

@ -1,7 +1,7 @@
#include "stdafx.h"
#include "definitions.h"
#include "Global.Engine.Extension.h"
#include <vector>
static std::vector<PluginInformation> Plugin;

View File

@ -2,8 +2,7 @@
#include "definitions.h"
#include "Global.Engine.GUI.h"
#include "Global.Engine.h"
#include <commdlg.h>
#include <shellapi.h>
#define TE_VER_MAJOR 2
#define TE_VER_MIDDLE 1

View File

@ -2,7 +2,6 @@
#include "definitions.h"
#include "Global.Engine.Importer.h"
#include "Global.Debugger.h"
#include <psapi.h>
ULONG_PTR EngineGetProcAddressRemote(HANDLE hProcess, const wchar_t* szDLLName, const char* szAPIName)
{

View File

@ -6,7 +6,6 @@
#include "Global.Engine.Extension.h"
#include "Global.Engine.Hash.h"
#include "Global.Debugger.h"
#include <psapi.h>
bool engineCheckForwarders = true;
bool engineAlowModuleLoading = false;

View File

@ -3,8 +3,7 @@
#include "Global.Garbage.h"
#include "Global.Handle.h"
#include "Global.Engine.h"
#include <stdlib.h>
#include <time.h>
wchar_t engineSzEngineGarbageFolder[MAX_PATH];

View File

@ -6,7 +6,6 @@
#include "Global.Debugger.h"
#include "Global.Mapping.h"
#include "Global.Handle.h"
#include <psapi.h>
GenericOEPTracerData glbEntryTracerData = {};

View File

@ -4,7 +4,6 @@
#include "Global.Handle.h"
#include "Global.Threader.h"
#include "Global.Librarian.h"
#include <vector>
__declspec(dllexport) void TITCALL ForceClose()
{

View File

@ -8,7 +8,6 @@
#include "Global.Threader.h"
#include "Global.Librarian.h"
#include "Global.TLS.h"
#include <psapi.h>
#define UE_MODULEx86 0x2000;
#define UE_MODULEx64 0x2000;

View File

@ -2,7 +2,6 @@
#include "definitions.h"
#include "Global.Debugger.h"
#include "Global.Breakpoints.h"
#include <stdlib.h>
__declspec(dllexport) bool TITCALL MatchPatternEx(HANDLE hProcess, void* MemoryToCheck, int SizeOfMemoryToCheck, void* PatternToMatch, int SizeOfPatternToMatch, PBYTE WildCard)
{

View File

@ -5,7 +5,6 @@
#include "Global.Handle.h"
#include "Global.Breakpoints.h"
#include "Global.Threader.h"
#include <vector>
static wchar_t szBackupDebuggedFileName[512];

View File

@ -2,7 +2,6 @@
#include "definitions.h"
#include "Global.Engine.h"
#include "Global.Handle.h"
#include <psapi.h>
//TitanEngine.Dumper.functions:
__declspec(dllexport) bool TITCALL DumpProcess(HANDLE hProcess, LPVOID ImageBase, char* szDumpFileName, ULONG_PTR EntryPoint)

View File

@ -5,8 +5,6 @@
#include "Global.Engine.h"
#include "Global.Handle.h"
#include "Global.Mapping.h"
#include <vector>
#include <psapi.h>
// Global.Engine.Hooks:
static std::vector<HOOK_ENTRY> hookEntry;

View File

@ -6,7 +6,6 @@
#include "Global.Engine.Importer.h"
#include "Global.Debugger.h"
#include "scylla_wrapper.h"
#include <psapi.h>
// TitanEngine.Importer.functions:
__declspec(dllexport) void TITCALL ImporterAddNewDll(char* szDLLName, ULONG_PTR FirstThunk)

View File

@ -2,7 +2,6 @@
#include "definitions.h"
#include "Global.Handle.h"
#include "Global.Engine.h"
#include <psapi.h>
// TitanEngine.Process.functions:
__declspec(dllexport) long TITCALL GetActiveProcessId(char* szImageName)

View File

@ -3,7 +3,6 @@
#include "Global.Engine.h"
#include "Global.Mapping.h"
#include "Global.Garbage.h"
#include <imagehlp.h>
// TitanEngine.Realigner.functions:
__declspec(dllexport) bool TITCALL FixHeaderCheckSum(char* szFileName)

View File

@ -4,7 +4,6 @@
#include "Global.Handle.h"
#include "Global.Engine.h"
#include "Global.Engine.Hash.h"
#include <wincrypt.h>
// TitanEngine.StaticUnpacker.functions:
__declspec(dllexport) bool TITCALL StaticFileLoad(char* szFileName, DWORD DesiredAccess, bool SimulateLoad, LPHANDLE FileHandle, LPDWORD LoadedSize, LPHANDLE FileMap, PULONG_PTR FileMapVA)

View File

@ -4,7 +4,6 @@
#include "Global.Engine.h"
#include "Global.Threader.h"
#include "Global.Debugger.h"
#include <tlhelp32.h>
// TitanEngine.Threader.functions:
__declspec(dllexport) bool TITCALL ThreaderImportRunningThreadData(DWORD ProcessId)

View File

@ -5,7 +5,7 @@
#include "Global.Mapping.h"
#include "Global.Engine.Hash.h"
#include "Global.Injector.h"
#include <psapi.h>
// Global.Engine.Tracer.functions:
static long long EngineGlobalTracerHandler1(HANDLE hProcess, ULONG_PTR AddressToTrace, bool HashInstructions, DWORD InputNumberOfInstructions)

View File

@ -11,8 +11,23 @@
//#define TITANENGINE_BUILD_ASM_LIB
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
// Windows Header Files:
#include <windows.h>
#include <imagehlp.h>
#include <wincrypt.h>
#include <psapi.h>
#include <commdlg.h>
#include <shellapi.h>
#include <tlhelp32.h>
//stl/crt
#include <vector>
#include <stdlib.h>
#include <time.h>
//#include <winternl.h>
#include "ntdll.h"
#include "aplib.h"