print_call_stack

summary: print call stack

description:

Print the return addresses from the call stack at a breakpoint, when debugging a Linux binary. (and also print the module and the debug name from debugger)

To use this example:

  • run ida on test program simple_appcall_linux64, or ida on test program simple_appcall_linux32, and wait for auto-analysis to finish

  • put a breakpoint where you want to see the call stack

  • select the ‘linux debugger’ (either local, or remote)

  • start debugging

  • Press Shift+C at the breakpoint

level: intermediate

Attributes

ACTION_NAME

ACTION_LABEL

ACTION_SHORTCUT

ACTION_HELP

Classes

print_call_stack_ah_t

Functions

log(msg)

Module Contents