MCPcopy Create free account
hub / github.com/cuberite/cuberite / OnCallstackEntry

Method OnCallstackEntry

src/LeakFinder.cpp:211–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209
210
211void LeakFinderOutput::OnCallstackEntry(CallstackEntryType eType, CallstackEntry &entry)
212{
213 if ( (eType != lastEntry) && (entry.offset != 0) )
214 {
215 if ( ((this->m_options & LeakFinderShowCompleteCallstack) == 0) && (
216 (strstr(entry.lineFileName, "afxmem.cpp") != NULL) ||
217 (strstr(entry.lineFileName, "dbgheap.c") != NULL) ||
218 (strstr(entry.lineFileName, "new.cpp") != NULL) ||
219 (strstr(entry.lineFileName, "newop.cpp") != NULL) ||
220 (strstr(entry.lineFileName, "leakfinder.cpp") != NULL) ||
221 (strstr(entry.lineFileName, "stackwalker.cpp") != NULL)
222 ) )
223 {
224 return;
225 }
226 }
227 StackWalker::OnCallstackEntry(eType, entry);
228}
229
230
231

Callers

nothing calls this directly

Calls 2

SimpleXMLEncodeFunction · 0.85
c_strMethod · 0.80

Tested by

no test coverage detected