class ShadowCallStackBacktrace

Defined at line 182 of file ../../zircon/kernel/lib/arch/include/lib/arch/backtrace.h

Note there is no BackTrace() method here as in FramePointerBacktrace.

arch::GetShadowCallStackPointer() can be used to get the upper bound of the

currently-used shadow-call-stack, but finding the lower bound depends on the

runtime environment's exact details. So both fetching the base address and

checking whether the current shadow-call-stack pointer falls within the

allocated bounds must be dealt with before passing the constructor a valid

span of the in-use part of the shadow-call-stack.

Public Methods

void ShadowCallStackBacktrace ()

Defined at line 184 of file ../../zircon/kernel/lib/arch/include/lib/arch/backtrace.h

void ShadowCallStackBacktrace (const ShadowCallStackBacktrace & )

Defined at line 186 of file ../../zircon/kernel/lib/arch/include/lib/arch/backtrace.h

void ShadowCallStackBacktrace (std::span<const uintptr_t> stack)

Defined at line 188 of file ../../zircon/kernel/lib/arch/include/lib/arch/backtrace.h

void ShadowCallStackBacktrace (std::span<const uintptr_t> stack)

Defined at line 188 of file ../../zircon/kernel/lib/arch/include/lib/arch/backtrace.h

void ShadowCallStackBacktrace (std::span<const uintptr_t> stack)

Defined at line 188 of file ../../zircon/kernel/lib/arch/include/lib/arch/backtrace.h

void ShadowCallStackBacktrace (std::span<const uintptr_t> stack)

Defined at line 188 of file ../../zircon/kernel/lib/arch/include/lib/arch/backtrace.h

void ShadowCallStackBacktrace (std::span<const uintptr_t> stack, uintptr_t sp)

Defined at line 190 of file ../../zircon/kernel/lib/arch/include/lib/arch/backtrace.h

void ShadowCallStackBacktrace (std::span<const uintptr_t> stack, uintptr_t sp)

Defined at line 190 of file ../../zircon/kernel/lib/arch/include/lib/arch/backtrace.h

void ShadowCallStackBacktrace (std::span<const uintptr_t> stack, uintptr_t sp)

Defined at line 190 of file ../../zircon/kernel/lib/arch/include/lib/arch/backtrace.h

void ShadowCallStackBacktrace (std::span<const uintptr_t> stack, uintptr_t sp)

Defined at line 190 of file ../../zircon/kernel/lib/arch/include/lib/arch/backtrace.h

ShadowCallStackBacktrace & operator= (const ShadowCallStackBacktrace & )

Defined at line 194 of file ../../zircon/kernel/lib/arch/include/lib/arch/backtrace.h

bool empty ()

The shadow call stack grows up, so iterating over frames from innermost to

outermost has to go last to first.

Defined at line 199 of file ../../zircon/kernel/lib/arch/include/lib/arch/backtrace.h

reverse_iterator begin ()

Defined at line 201 of file ../../zircon/kernel/lib/arch/include/lib/arch/backtrace.h

reverse_iterator end ()

Defined at line 203 of file ../../zircon/kernel/lib/arch/include/lib/arch/backtrace.h

bool IsValidSp (uintptr_t sp)

Defined at line 205 of file ../../zircon/kernel/lib/arch/include/lib/arch/backtrace.h

bool IsValidSp (uintptr_t sp)

Defined at line 205 of file ../../zircon/kernel/lib/arch/include/lib/arch/backtrace.h

bool IsValidSp (uintptr_t sp)

Defined at line 205 of file ../../zircon/kernel/lib/arch/include/lib/arch/backtrace.h

bool IsValidSp (uintptr_t sp, uintptr_t base, size_t size)

Defined at line 209 of file ../../zircon/kernel/lib/arch/include/lib/arch/backtrace.h

bool IsValidSp (uintptr_t sp, uintptr_t base, size_t size)

Defined at line 209 of file ../../zircon/kernel/lib/arch/include/lib/arch/backtrace.h

bool IsValidSp (uintptr_t sp, uintptr_t base, size_t size)

Defined at line 209 of file ../../zircon/kernel/lib/arch/include/lib/arch/backtrace.h

void ShrinkToSp (uintptr_t sp)

Defined at line 213 of file ../../zircon/kernel/lib/arch/include/lib/arch/backtrace.h

void ShrinkToSp (uintptr_t sp)

Defined at line 213 of file ../../zircon/kernel/lib/arch/include/lib/arch/backtrace.h

void ShrinkToSp (uintptr_t sp)

Defined at line 213 of file ../../zircon/kernel/lib/arch/include/lib/arch/backtrace.h