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

Function cpputest_malloc_location

src/CppUTest/TestHarness_c.cpp:203–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201}
202
203void* cpputest_malloc_location(size_t size, const char* file, size_t line)
204{
205 countdown();
206 malloc_count++;
207 return cpputest_malloc_location_with_leak_detection(size, file, line);
208}
209
210static size_t test_harness_c_strlen(const char * str)
211{

Callers 4

cpputest_mallocFunction · 0.85
strdup_allocFunction · 0.85
cpputest_calloc_locationFunction · 0.85
TESTFunction · 0.85

Calls 2

countdownFunction · 0.85

Tested by

no test coverage detected