#pragma once #include struct StackTracer { StackTracer(); StackTracer(uintptr_t base_pointer); void trace(); void trace_with_ip(uintptr_t ip); private: uintptr_t m_base_pointer; }; bool stack_trace_contains(uintptr_t address);