cheat-engine/DBKKernel/noexceptions.h
Dark Byte d2dc1a6235 Now using visual studio 2017 to compile the driver
split up ultimap2 from dbk (in case signing dbk fails ultimap will keep working)
fixed the processwatcher bsod'ing you if you have multiple CE's open
fixed the ss segment limit in dbvm offload (not that it was used)
2018-04-13 00:25:53 +02:00

31 lines
703 B
C

#ifndef NOEXCEPTIONS_H
#define NOEXCEPTIONS_H
/*
Will be responsible for temporarily switching out the IDT of the curent CPU with one that doesn't call windows functions on errors
*/
#include <ntifs.h>
#include <wdm.h>
#include <windef.h>
#include "interruptHook.h"
#include "dbkfunc.h"
typedef struct
{
KIRQL entryIRQL;
PINT_VECTOR NoExceptionVectorList; //list pointing to an idt table with hooked ints
IDT OriginalIDT;
IDT ModdedIDT;
} CPUSTATE, *PCPUSTATE;
BOOL NoExceptions_Enter();
int NoExceptions_CopyMemory(PVOID Destination, PVOID Source, int size);
void NoExceptions_Leave();
void NoExceptions_Cleanup();
void NoException14_ErrorHandler();
#endif