Commit graph

16 commits

Author SHA1 Message Date
be221f68d5 Check mtime to avoid recreating existing so 2018-04-26 19:15:37 +02:00
353a97c49d Refactor code generation: use shared/context_struct.h
This allows #include'ing `context_struct.h` in the stack walker
implementation as well
2018-04-25 18:11:59 +02:00
771aec2621 Remove debug output 2018-04-25 17:49:02 +02:00
ff0f8c90df Allow unimplemented registers to appear in DWARF
The presence of such a register — eg. rcx, which is actually used in CFA
on a few lines of libgcc_s.so on my system — will yield an assert(0) in
the produced code, but will at least not fail to compile alltogether.
2018-04-25 17:34:31 +02:00
31f811eca4 Add python script to compile easily 2018-04-25 17:33:59 +02:00
c07b0623e4 Add generation of a lookup function 2018-04-24 17:44:09 +02:00
44543d85d3 Generate compilable C code, untested 2018-04-23 18:58:05 +02:00
d13b625cc5 SimpleDwarf, DwarfReader: fix machine registers 2018-04-23 16:46:03 +02:00
dc6072e991 Add simple main 2018-04-23 16:22:32 +02:00
f6e9b8ebd2 Add Makefile 2018-04-23 16:22:27 +02:00
f9f64e9606 SimpleDwarf: few fixes 2018-04-23 16:12:10 +02:00
8bf2e1e49d SimpleDwarf: add pretty-printing operator<< 2018-04-23 15:59:10 +02:00
13e3647629 Add libdwarfpp-based DwarfReader 2018-04-23 15:09:52 +02:00
8c2191f487 Add simplistic Dwarf representation
This is only representing a small fragment of Dwarf, **on purpose**: in
practice, the huge majority of Dwarf observed in the wild belongs to
this fragment.
2018-04-23 15:09:48 +02:00
32c3ec3745 Add README 2018-04-20 11:41:06 +02:00
c3109c60f4
Initial commit 2018-04-20 11:33:48 +02:00