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
Classes
Functions
|
Module Contents
- print_call_stack.log(msg)
- print_call_stack.ACTION_NAME = 'example:print_call_stack'
- print_call_stack.ACTION_LABEL = 'Print call stack'
- print_call_stack.ACTION_SHORTCUT = 'Shift+C'
- print_call_stack.ACTION_HELP = 'Press Shift+C to dump the call stack'