2008-08-20 19:27:03 +00:00
|
|
|
/* UNDOCUMENTED HEAP STRUCTURES */
|
|
|
|
|
|
|
|
typedef struct _RTL_HEAP_DEFINITION {
|
|
|
|
ULONG Length;
|
|
|
|
ULONG Unknown1;
|
|
|
|
ULONG Unknown2;
|
|
|
|
ULONG Unknown3;
|
|
|
|
ULONG Unknown4;
|
|
|
|
ULONG Unknown5;
|
|
|
|
ULONG Unknown6;
|
|
|
|
ULONG Unknown7;
|
|
|
|
ULONG Unknown8;
|
|
|
|
ULONG Unknown9;
|
|
|
|
ULONG Unknown10;
|
|
|
|
ULONG Unknown11;
|
|
|
|
ULONG Unknown12;
|
|
|
|
} RTL_HEAP_DEFINITION, *PRTL_HEAP_DEFINITION;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* FUNCTIONS */
|
|
|
|
|
2009-11-03 21:49:24 +00:00
|
|
|
int hookRtlHeap(BYTE, char *);
|
2008-08-20 19:27:03 +00:00
|
|
|
int tenkListener(void);
|
|
|
|
void tenkListHeaps(void);
|
|
|
|
void tenkListChunks(PVOID);
|
2008-12-17 21:59:40 +00:00
|
|
|
void tenkValidate(PVOID);
|
2008-08-20 19:27:03 +00:00
|
|
|
void tenkHelp(void);
|
|
|
|
DWORD WINAPI tenkBackChannel(LPVOID);
|
|
|
|
HRESULT CALLBACK showHeap(void);
|
|
|
|
|
|
|
|
|