Commit Graph
135 Commits
Author SHA1 Message Date
nnosov 657ddf182b Implement range of memory access validation instead of pointer and use
it. Export new validator to users.
Various small fixes
2020-05-06 11:49:22 +04:00
nnosov f483155e07 special handling of CFA pseudo register since libunwind provides wron
value
2020-05-02 13:56:39 +04:00
nnosov d1441b3b6f haide frame storage from user and introduce separate method
pst_get_register() to obtain register value within function's stack
frame
2020-05-02 13:51:31 +04:00
nnosov 1825515ca0 move printing of stack trace headers from library to user's program 2020-04-25 09:09:55 +04:00
nnosov 3e72295ee9 rename logger type. disable debug logging by default. extend test to
check pointer validity
2020-04-25 08:05:45 +04:00
nnosov 7206abc6a9 check pointer's validity. clean-up unused bits in parameter's value 2020-04-25 07:38:46 +04:00
nnosov 41d8a846fb handle syscall's return codes more accurate 2020-04-25 07:35:53 +04:00
nnosov 187032a773 introduce pointer dereference validation method 2020-04-23 09:22:56 +04:00
nnosov 46bcfad427 small refactoring. memory leak fix 2020-04-23 09:22:20 +04:00
nnosov e18fdd78a1 support of volatile & revalue references 2020-04-22 13:47:57 +04:00
nnosov b35f9fcb01 rename function-related function's names 2020-04-22 13:33:36 +04:00
nnosov 39f34d7814 better printing of parameters. export access to parameter's children 2020-04-22 13:05:04 +04:00
nnosov e5531f9986 add support of pointers to functions, small refactoring of pst_parameter 2020-04-19 11:53:32 +04:00
nnosov ab5863c981 Update README.md 2020-04-18 21:58:27 +04:00
nnosov a0475eeda7 make visible to user libunwind function's context, SP register and CFA 2020-04-16 20:54:53 +04:00
nnosov a36d8ff7b9 update information about pst interface 2020-04-16 20:23:03 +04:00
nnosov bc1b1577a5 cleanup of external interface info 2020-04-16 20:18:37 +04:00
nnosov 36786245c7 small optimization in code related to handling DWARF information about
parameter
2020-04-16 19:20:19 +04:00
nnosov c7e9925efe extend to user types of parameter and initialize them. introduce
'typename' to parameter_info, it's C/C++ name of parameter type. rewrite
parameter printing using new capabilities.
2020-04-16 18:56:40 +04:00
nnosov f9f26f5f7d use bitset for parameter state instead of separate boolean fields 2020-04-16 13:45:26 +04:00
nnosov 5a1dd37dd4 check that basic handling (actually, unwind_simple) wer performed and if
not, do it from unwind_pretty
2020-04-16 13:27:33 +04:00
nnosov 62a6faeb76 clean-up Makefile 2020-04-16 13:26:18 +04:00
nnosov aae7ee6a20 tune eclipse project settings 2020-04-16 13:25:53 +04:00
nnosov f3dc0a0e04 Added 'Usage' chapter to readme 2020-04-06 09:34:16 +04:00
nnosov 3317cd212b exprt next_function, next_parameter function_info, parameter_info to
external interface of the library
2020-04-05 14:59:41 +04:00
nnosov e2e7535149 introduce separate print functions for 'simple' and 'pretty' variands of
unwinding
2020-04-05 13:33:19 +04:00
nnosov 3adc8eb1ef remove unused includes 2020-04-05 13:32:03 +04:00
nnosov 5b4d7d0349 refactor of function unwinding 2020-03-07 10:15:56 +04:00
nnosov 09f6432061 fix include path 2020-02-09 20:09:41 +04:00
nnosov 259ad6b68d remove libstdc++ from dependencies 2020-02-09 20:09:24 +04:00
nnosov 1d43624115 update readme 2020-02-09 20:09:01 +04:00
nnosov c09c6c1f1b make non-public context functions static 2020-02-05 22:35:08 +04:00
nnosov c4376721ad minor allocator changes 2020-02-05 22:34:48 +04:00
nnosov d52b92b8dc make dw_op_XX static 2020-02-05 22:34:21 +04:00
nnosov e2c9ba33ba change expternal interface function names and description 2020-02-05 19:48:18 +04:00
nnosov 80ccab3948 add _GNU_SOURCE to project configuration for fix indexing of source code
by Eclipse
2020-02-05 17:06:52 +04:00
nnosov 80a4df4373 fix Makefile clean, fix compilation warnings 2020-02-05 16:30:40 +04:00
nnosov cdacdce8e5 fix compilation errors related to C specifics 2020-02-05 16:14:52 +04:00
nnosov ef055f0324 various changes related to refactor of header files 2020-02-05 12:45:06 +04:00
nnosov 064951f4c8 build shared version of the library 2020-02-05 12:23:47 +04:00
nnosov 24efc4580b implement external interface to library and use it in tests. need to be
reworked a bit to use file descriptor or buffer provided to callse
2020-02-05 12:13:26 +04:00
nnosov d4e9307fe1 add pst_handler_new() 2020-02-05 12:12:02 +04:00
nnosov bfb9200d3a Merge pull request #2 from nnosov/move_to_c
code hierarchy refactoring
2020-02-05 09:42:24 +04:00
nnosov 3c7105eb97 code hierarchy refactoring 2020-02-05 09:41:22 +04:00
nnosov f3c50f6472 Merge pull request #1 from nnosov/move_to_c
Move to c
2020-02-05 07:12:36 +04:00
nnosov c21c623be4 handle DW_AT_low_pc & DW_AT_call_tail_call for call-site 2020-02-05 07:02:19 +04:00
nnosov 0d06b02747 small refactoring and bug-fixing 2020-02-04 19:55:51 +04:00
nnosov 813fe52bf1 pst_allocator refactoring, use mutex to access fields 2020-02-03 18:06:25 +04:00
nnosov 70e39e14a9 refactor dwarf_handler 2020-02-03 17:55:33 +04:00
nnosov ac408ab21a small refactoring 2020-02-03 15:46:22 +04:00