![]() |
My Project
|
Go to the source code of this file.
Typedefs | |
typedef unsigned short | omTrackFlags_t |
Variables | |
void * | om_KeptAddr |
void * | om_LastKeptAddr |
unsigned long | om_MaxAddr |
unsigned long | om_MinAddr |
void * | om_AlwaysKeptAddrs |
#define OM_FALIGN 64 /* for AllocAligned */ |
#define omAddrCheckReturn | ( | cond | ) |
#define omAddrCheckReturnCorrupted | ( | cond | ) | omAddrCheckReturnError(cond, omError_MemoryCorrupted) |
#define omAddrCheckReturnError | ( | cond, | |
error | |||
) | do {if (cond) return omReportAddrError(error, report, addr, bin_size, flags, OM_FLR_VAL, "");} while (0) |
Definition at line 186 of file omDebug.h.
#define omCheckReturnCorrupted | ( | cond | ) | omCheckReturnError(cond, omError_MemoryCorrupted) |
#define omCheckReturnError | ( | cond, | |
error | |||
) | do {if (cond) return omReportError(error, report, OM_FLR_VAL, "");} while (0) |
Definition at line 172 of file omDebug.h.
#define omIsNormalBinPageAddr | ( | addr | ) | omIsBinPageAddr(addr) |
omError_t _omCheckAddr | ( | void * | addr, |
void * | size_bin, | ||
omTrackFlags_t | flags, | ||
char | check, | ||
omError_t | report, | ||
OM_FLR_DECL | |||
) |
Definition at line 36 of file omDebugCheck.c.
Definition at line 49 of file omDebugCheck.c.
omError_t _omCheckMemory | ( | char | check, |
omError_t | report, | ||
OM_FLR_DECL | |||
) |
Definition at line 58 of file omDebugCheck.c.
omError_t _omDebugAddr | ( | void * | addr, |
void * | bin_size, | ||
omTrackFlags_t | flags, | ||
OM_CFL_DECL | |||
) |
Definition at line 278 of file omDebug.c.
void * _omDebugAlloc | ( | void * | size_bin, |
omTrackFlags_t | flags, | ||
OM_CTFL_DECL | |||
) |
Definition at line 110 of file omDebug.c.
omError_t _omDebugBin | ( | omBin | bin, |
OM_CFL_DECL | |||
) |
void _omDebugFree | ( | void * | addr, |
void * | size_bin, | ||
omTrackFlags_t | flags, | ||
OM_CFL_DECL | |||
) |
Definition at line 182 of file omDebug.c.
void * _omDebugMemDup | ( | void * | addr, |
omTrackFlags_t | flags, | ||
OM_CTFL_DECL | |||
) |
Definition at line 201 of file omDebug.c.
omError_t _omDebugMemory | ( | OM_CFL_DECL | ) |
void * _omDebugRealloc | ( | void * | old_addr, |
void * | old_size_bin, | ||
void * | new_size_bin, | ||
omTrackFlags_t | old_flags, | ||
omTrackFlags_t | new_flags, | ||
OM_CTFL_DECL | |||
) |
Definition at line 147 of file omDebug.c.
char * _omDebugStrDup | ( | const char * | addr, |
OM_TFL_DECL | |||
) |
Definition at line 231 of file omDebug.c.
omError_t omCheckBinPageRegion | ( | omBinPageRegion | region, |
int | level, | ||
omError_t | report, | ||
OM_FLR_DECL | |||
) |
Definition at line 505 of file omBinPage.c.
omError_t omCheckBinPageRegions | ( | int | level, |
omError_t | report, | ||
OM_FLR_DECL | |||
) |
Definition at line 531 of file omBinPage.c.
omError_t omCheckPtr | ( | const void * | ptr, |
omError_t | report, | ||
OM_FLR_DECL | |||
) |
Definition at line 136 of file omDebugCheck.c.
omError_t omDoCheckAddr | ( | void * | addr, |
void * | bin_size, | ||
omTrackFlags_t | flags, | ||
char | level, | ||
omError_t | report, | ||
OM_FLR_DECL | |||
) |
Definition at line 146 of file omDebugCheck.c.
Definition at line 253 of file omDebugCheck.c.
omError_t omDoCheckBinAddr | ( | void * | addr, |
void * | bin_size, | ||
omTrackFlags_t | flags, | ||
char | level, | ||
omError_t | report, | ||
OM_FLR_DECL | |||
) |
Definition at line 198 of file omDebugCheck.c.
omBinPageRegion omFindRegionOfAddr | ( | void * | addr | ) |
Definition at line 578 of file omBinPage.c.
void omFreeKeptAddr | ( | ) |
Definition at line 609 of file omDebug.c.
Definition at line 542 of file omDebug.c.
Definition at line 595 of file omBinPage.c.
Definition at line 743 of file omDebugTrack.c.
int omIsKnownMemoryRegion | ( | omBinPageRegion | region | ) |
Definition at line 489 of file omBinPage.c.
void omIterateTroughAddrs | ( | int | normal, |
int | track, | ||
void(*)(void *) | CallBackUsed, | ||
void(*)(void *) | CallBackFree | ||
) |
Definition at line 503 of file omDebugCheck.c.
void omIterateTroughBinAddrs | ( | omBin | bin, |
void(*)(void *) | CallBackUsed, | ||
void(*)(void *) | CallBackFree | ||
) |
Definition at line 464 of file omDebugCheck.c.
void omMarkMemoryAsStatic | ( | ) |
Definition at line 565 of file omDebugCheck.c.
Definition at line 576 of file omDebugCheck.c.
omError_t omReportAddrError | ( | omError_t | error, |
omError_t | report, | ||
void * | addr, | ||
void * | bin_size, | ||
omTrackFlags_t | flags, | ||
OM_FLR_DECL | , | ||
const char * | fmt, | ||
... | |||
) |
Definition at line 394 of file omDebugCheck.c.
void omUnMarkMemoryAsStatic | ( | ) |
Definition at line 19 of file omDebugCheck.c.
Definition at line 20 of file omDebugCheck.c.