Commit Graph
21 Commits
Author SHA1 Message Date
nnosov a60045d9f4 do not handle return parameter value since it's unaccessible in stack
trace (no functions returns)
2020-01-14 19:28:38 +04:00
nnosov e2bdd31cef use internal linkedlist implementation instead of std::list,
std::vector. make stack trace a bit more complex
2020-01-14 18:03:11 +04:00
nnosov b49318cd11 retrieve return value of function, show frame number on print 2020-01-14 16:57:21 +04:00
nnosov 4bc8c15918 take care that parameter may have 'undefined' or 'constant' values 2020-01-14 14:54:47 +04:00
nnosov 2b3db0f936 better and more dwarf info printing 2020-01-14 14:20:03 +04:00
nnosov eb9dc1341d introduce printing functions and their parameters on base of dwarf info 2020-01-14 13:47:08 +04:00
nnosov fc6a81b460 move calc_expression() & get_value() from context to DWARF stack 2020-01-14 12:21:00 +04:00
nnosov 5ee3935dc2 move out value retrieval from expression evaluation. add get_value() 2020-01-14 11:48:08 +04:00
nnosov 6b43827894 create and use mapping between DW_OP_Rex/breg(x) and appropriate
platform-dependent register number
2020-01-14 09:12:00 +04:00
nnosov b955926d86 added DW_OP_GNU_entry_value operation handling 2020-01-14 08:56:49 +04:00
nnosov fdfce06ee0 one bug fix & reformeatting of the code 2020-01-13 22:13:39 +04:00
nnosov 2f7dfeca0b small reformatting of the code 2020-01-13 22:13:08 +04:00
nnosov 964c6d888e remove unused code 2020-01-13 19:45:08 +04:00
nnosov 1abe271d10 small refactoring and bug fixing of DWARF operations processing 2020-01-13 18:49:11 +04:00
nnosov a1954685e5 add suppoert of dw_op_fbreg & dw_op_call_frame_cfa DWARF operations and
use them
2020-01-13 18:37:56 +04:00
nnosov 50bebda6a1 initial implementation of DWARF Expression state machine parsing and
it's usage for retrieve arguments/variables of function
2020-01-13 17:21:46 +04:00
nnosov 08ba87ce98 raw and dirty implementation of handling of constant, stack,
arithmetical and logical operations on DWARF expression stack machine
2020-01-11 18:56:03 +04:00
nnosov 58f14a695d extract context from handler and move it to common. define functions to
use in calculation of DWARF expressions
2020-01-11 14:56:45 +04:00
nnosov 8f7fed23dc global refactoring: use libunwind to get stack frame, get rid on process
base address, better DWARF DW_OP_XXX handling, initial implementation of
parameter's values retrieval
2020-01-09 18:49:45 +04:00
nnosov 83fc2bc3ef beterr DWARF expressions logging, trying to get CFI info for registers 2020-01-05 12:29:18 +04:00
nnosov 1f3a6237ac pstrace: initial commit 2020-01-04 14:28:08 +04:00