MCPcopy Create free account
hub / github.com/crownengine/crown / nextStackFrame

Function nextStackFrame

3rdparty/bx/src/debug.cpp:329–344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327 }
328
329 static const uintptr_t* nextStackFrame(const uintptr_t* _stackFrame)
330 {
331 const uintptr_t* newStackFrame = (const uintptr_t*)*_stackFrame;
332
333 if (newStackFrame <= _stackFrame)
334 {
335 return NULL;
336 }
337
338 if (uintptr_t(newStackFrame) & (sizeof(uintptr_t) - 1) )
339 {
340 return NULL;
341 }
342
343 return newStackFrame;
344 }
345
346 BX_NO_INLINE uint32_t getCallStackSystemVAbi(uint32_t _skip, uint32_t _max, uintptr_t* _outStack)
347 {

Callers 2

getCallStackSystemVAbiFunction · 0.85
getCallStackWinAbiFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected