#include <windows.h>#include "libhoard.cpp"#include <new>#include "ansiwrapper.h"#include "cpuinfo.h"#include "hoard.h"#include "heapmanager.h"#include "tlab.h"#include "tls.cpp"#include "wrapper.cpp"Classes | |
| struct | PATCH |
Defines | |
| #define | WIN32_LEAN_AND_MEAN |
| #define | _WIN32_WINNT 0x0500 |
| #define | IAX86_NEARJMP_OPCODE 0xe9 |
| #define | MakeIAX86Offset(to, from) ((unsigned)((char*)(to)-(char*)(from)) - BytesToStore) |
| #define | CUSTOM_PREFIX(n) hoard_##n |
| #define | HOARD_PRE_ACTION {PatchMeIn();} |
| #define | HOARD_POST_ACTION {HeapAlloc (GetProcessHeap(), 0, 1); } |
| #define | CUSTOM_DLLNAME HoardDllMain |
| #define | CUSTOM_PREFIX(n) n |
Typedefs | |
| typedef void(* | exitFunctionType )(void) |
Functions | |
| static bool | PatchMeIn (void) |
| __declspec (dllexport) int ReferenceHoardStub | |
| void | hoard_onexit (void(*function)(void)) |
| void | hoard_exit (int code) |
| void * | hoard_expand (void *ptr) |
| static void | PatchIt (PATCH *patch) |
Variables | |
| void(* | hoard_memcpy_ptr )(void *dest, const void *src, size_t count) |
| void(* | hoard_memset_ptr )(void *dest, int c, size_t count) |
| const char * | RlsCRTLibraryName [] = {"MSVCR71.DLL", "MSVCR80.DLL", "MSVCR90.DLL", "MSVCR100.DLL" } |
| static const int | RlsCRTLibraryNameLength = 4 |
| static const int | BytesToStore = 5 |
| static const int | HOARD_MAX_EXIT_FUNCTIONS = 255 |
| static int | exitCount = 0 |
| exitFunctionType | exitFunctionBuffer [255] |
| static PATCH | rls_patches [] |
| #define _WIN32_WINNT 0x0500 |
| #define CUSTOM_DLLNAME HoardDllMain |
| #define CUSTOM_PREFIX | ( | n | ) | n |
| #define CUSTOM_PREFIX | ( | n | ) | hoard_##n |
| #define HOARD_POST_ACTION {HeapAlloc (GetProcessHeap(), 0, 1); } |
| #define HOARD_PRE_ACTION {PatchMeIn();} |
| #define IAX86_NEARJMP_OPCODE 0xe9 |
| #define MakeIAX86Offset | ( | to, | |||
| from | ) | ((unsigned)((char*)(to)-(char*)(from)) - BytesToStore) |
| #define WIN32_LEAN_AND_MEAN |
| typedef void(* exitFunctionType)(void) |
| __declspec | ( | dllexport | ) |
| void hoard_exit | ( | int | code | ) |
| void* hoard_expand | ( | void * | ptr | ) |
| void hoard_onexit | ( | void(*)(void) | function | ) |
| static void PatchIt | ( | PATCH * | patch | ) | [static] |
| static bool PatchMeIn | ( | void | ) | [static] |
const int BytesToStore = 5 [static] |
int exitCount = 0 [static] |
const int HOARD_MAX_EXIT_FUNCTIONS = 255 [static] |
| void(* hoard_memcpy_ptr)(void *dest, const void *src, size_t count) |
| void(* hoard_memset_ptr)(void *dest, int c, size_t count) |
PATCH rls_patches[] [static] |
| const char* RlsCRTLibraryName[] = {"MSVCR71.DLL", "MSVCR80.DLL", "MSVCR90.DLL", "MSVCR100.DLL" } |
const int RlsCRTLibraryNameLength = 4 [static] |
1.6.3