MCPcopy Create free account
hub / github.com/cpputest/cpputest / reportMemoryCorruptionFailure

Method reportMemoryCorruptionFailure

src/CppUTest/MemoryLeakDetector.cpp:229–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227}
228
229void MemoryLeakOutputStringBuffer::reportMemoryCorruptionFailure(MemoryLeakDetectorNode* node, const char* freeFile, size_t freeLineNumber, TestMemoryAllocator* freeAllocator, MemoryLeakFailure* reporter)
230{
231 reportFailure("Memory corruption (written out of bounds?)\n", node->file_, node->line_, node->size_, node->allocator_, freeFile, freeLineNumber, freeAllocator, reporter);
232}
233
234void MemoryLeakOutputStringBuffer::reportFailure(const char* message, const char* allocFile, size_t allocLine, size_t allocSize, TestMemoryAllocator* allocAllocator, const char* freeFile, size_t freeLine,
235 TestMemoryAllocator* freeAllocator, MemoryLeakFailure* reporter)

Callers 1

checkForCorruptionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected