Commit Graph
108 Commits
Author SHA1 Message Date
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
nnosov 810ce7519d do not use struct function pointers elsewhere, use them only in case
when polymorphysm needed
2020-02-03 15:04:09 +04:00
nnosov b79db14d0c pst_parameter: do not return failure if location expression calculation
failed, because it don't allow to add parameter to function
2020-02-02 15:53:16 +04:00
nnosov cfb9ac91c8 remove extra logging 2020-02-02 15:46:13 +04:00
nnosov 6f0f3fa795 handle_location: fix value retrieval 2020-02-02 15:44:52 +04:00
nnosov 1d50b04ea0 dwarf_stack: fix set/get value 2020-02-02 15:44:21 +04:00
nnosov 99f4bd72be fixed several bugs related to refactoring 2020-02-02 14:58:53 +04:00
nnosov 5e6b78a82c fix compilation and linking issues. use __cxa_demangle for now so depend
on libstdc++
2020-02-02 12:54:54 +04:00
nnosov dbaffdf689 fix most of compilation warnings 2020-02-02 12:28:43 +04:00
nnosov abba9f735b rename hash_miltimap.c->cpp 2020-02-02 12:15:18 +04:00
nnosov ef4cb44fb2 pst_function reimplemented in C 2020-02-02 10:25:40 +04:00
nnosov 836a0a9f29 minor refactoring 2020-02-01 21:26:07 +04:00
nnosov 0064239418 call_site_XXX moved to C language, added my oldest hash_map
implementation
2020-02-01 21:19:55 +04:00
nnosov dbd8e31129 define pst_log macro to use global log 2020-02-01 18:11:50 +04:00
nnosov 7c13dfa9e1 define pst_alloc & pst_free macro to use global allocator 2020-02-01 17:57:43 +04:00
nnosov e27f0c5c18 move pst_call_site & pst_parameter to C language and separate them 2020-02-01 17:09:12 +04:00
nnosov 8251ba526f all code except of pst_function & pst_handler rewritten on C language.
Logger nad Allocator decided to be a global for all library
2020-02-01 15:19:55 +04:00
nnosov fcdb15ba95 remove unused code from dwarf_stack 2020-01-29 10:05:18 +04:00
nnosov 340abfc31c fix pst_alloc_init.. names and stub for pst_alloc_init_cutom() 2020-01-28 20:17:47 +04:00
nnosov 701976beb0 remove next_frame from pst_context since it's not used 2020-01-28 19:27:25 +04:00
nnosov 097c0f93d3 added stub for pst_alloc_fini() 2020-01-28 19:26:33 +04:00
nnosov e62db2210d move pst_context to separate files 2020-01-28 16:44:43 +04:00
nnosov 6da79926d0 add simple libc-based allocat to extend it in future 2020-01-28 16:31:32 +04:00
nnosov c2fdeccd34 move register-related code to separate files, move DWARF module & handle
to pst_context, move get_frame() from pst_handler to pst_function
2020-01-28 14:24:32 +04:00
nnosov f9635841f6 right caculation of DW_OP_GNU_entry_value, use caller's information 2020-01-26 15:36:33 +04:00
nnosov 898fa1e5e8 add dictionary implementation 2020-01-25 17:26:16 +04:00
nnosov daf58bce70 save call-site parameters in caller 2020-01-25 17:25:59 +04:00
nnosov 4f94a9e1c2 dwarf stack: save expression and add is_exp_equal() to compare
expressions
2020-01-25 17:24:36 +04:00