MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / AddrIsInStack

Method AddrIsInStack

system/lib/compiler-rt/lib/asan/asan_thread.cpp:406–409  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

404}
405
406bool AsanThread::AddrIsInStack(uptr addr) {
407 const auto bounds = GetStackBounds();
408 return addr >= bounds.bottom && addr < bounds.top;
409}
410
411static bool ThreadStackContainsAddress(ThreadContextBase *tctx_base,
412 void *addr) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected