Re: Shadow stack backtrace command name

Tom Tromey
2023-12-23T18:23:03Z

>>>>> Schimpe, Christina via Gdb <gdb@sourceware.org> writes:

> A shadow stack is a second stack for a program introduced in the Intel (R)
> Control-Flow Enforcement Technology (CET). The shadow stack is used for
> control transfer operations to store the return addresses.

One question I had is when, as a gdb user, would I want to see this
information?

> It is configurable using "print symbol-filename" and COUNT.
> The command can be called by the following names:
> - "info shadow-stack bt", "info shadow-stack backtrace"

Like others in the thread, I'm -1 on "info" as a prefix.
I liked "bt -shadow", but I was also wondering if the information should
just be integrated into the ordinary backtrace when available... that's
why I'm wondering when I'd want to see this.

Tom