Commit graph

80 commits

Author SHA1 Message Date
730d964ac5 Update README 2018-08-17 20:58:02 +02:00
6629de9a3e stats: various modifications 2018-08-08 14:38:41 +02:00
216e442f5b Tentative progress in stats 2018-08-08 14:38:41 +02:00
3cb2c508a0 Add tentative WIP stats module 2018-08-08 14:38:41 +02:00
d93d2c2f6e Cleanup work tree with gitignores 2018-08-08 14:36:53 +02:00
3990b2c6ee dwarf-assembly: support common exprs DW_OP_breg<n> 2018-08-08 14:33:20 +02:00
310a348bce Can generate PC holes in eh_elfs
Before, the space between FDEs was abstracted away, thought as dead
space that produced an error when queried. This is not the case, though:
empty FDEs indicate undefined DWARF
2018-07-04 18:14:30 +02:00
b3c5b647b5 env/apply: fix deactivate 2018-07-04 18:13:19 +02:00
f2642a70c9 Detect PLT standard expression 2018-07-02 16:22:13 +02:00
4181dd828a compare_sizes: compare to original program size 2018-07-02 12:44:27 +02:00
aa7b43eb27 Add env sourcing script 2018-07-02 12:33:33 +02:00
235ba740dd Merge branch 'rbx' into lighter_c_rbx 2018-06-25 16:56:07 +02:00
a34bbd928a Add FactoredSwitchCompiler - great space gain 2018-06-25 16:32:52 +02:00
b9b66b9244 Refactor switch compiler factories 2018-06-25 11:54:45 +02:00
6fef1c5444 Refactor switch generation 2018-06-25 11:33:36 +02:00
12e749f542 Handle rbx 2018-06-22 09:15:10 +02:00
cd9ecafb4f Use flags in context structures 2018-06-22 09:12:32 +02:00
b6ae4b2115 Filter out consecutive equal DWARF lines 2018-06-22 09:01:57 +02:00
21dcd7969e Add auxiliary eh_elfs directories 2018-06-22 08:56:20 +02:00
da05f6b9f1 Patch holes in big switches 2018-06-20 14:13:19 +02:00
10ead4df37 gen_eh_elf: add aux directories 2018-06-20 14:12:11 +02:00
79dac37334 compare_sizes: fix with symlinks 2018-06-18 11:37:04 +02:00
262d658674 Add hackbench 2018-06-13 19:55:41 +02:00
81b3419690 Use max(uintptr_t) as error, not assert(0) 2018-06-13 19:13:33 +02:00
d53fcd22c6 gen_eh_elf: symlinks: remove if present 2018-06-12 16:36:32 +02:00
65b08a444a gen_eh_elf: also generate appropriate symlinks 2018-06-11 19:21:22 +02:00
c0504e07c0 gen_eh_elf: add -g option
Allows compiling the eh_elf.so files with -g
2018-06-05 18:26:13 +02:00
fd6c75b2f5 Add --enable-deref-arg to helptext 2018-06-05 18:25:34 +02:00
5661ccbefc shared: add typedef for fde func with deref callback 2018-06-04 16:56:57 +02:00
273edde1ce Refactor generate_eh_elf args handling
Use a `config` class
2018-06-04 16:56:53 +02:00
715a8f371a Add two csmith benching scripts 2018-06-04 15:07:38 +02:00
7960b5ba08 Add and implement --enable-deref-arg feature 2018-06-01 19:52:41 +02:00
df2d6179a8 Add a libunwind-powered stack_walker
Preserves stack_walker's interface (one can link against stack_walker or
stack_walker_unwind indifferently).
2018-05-18 11:33:39 +02:00
6854eb56e4 [BREAKING CHANGE] Unwinding stops at the end
This introduces a breaking change: [undefined] was previously
represented by 0, and is now represented by
`numeric_limits<uintptr_t>::max()`
2018-05-16 16:51:01 +02:00
209e668505 Add READMEs 2018-05-15 18:13:09 +02:00
ee6e534fc9 Add .rodata to compare-sizes 2018-05-15 16:14:17 +02:00
49cd75b7b7 Gen_eh_elf: add --force (force re-generation) 2018-05-11 17:58:09 +02:00
4ccd49fb8a gen_eh_elf: handle -O{0,1,2,3,s} directly 2018-05-11 15:53:02 +02:00
52ea92dcf8 Fix various problems in PC list handling 2018-05-11 15:52:38 +02:00
bc05e8270c Add --pc-list switch to generate_eh_elf 2018-05-11 15:52:08 +02:00
13ebe46df2 Refactor extract_pc
This is meant to make it easy to call the pc extractor from some other
python code as well, to call it from generate_eh_elf.py
2018-05-11 13:09:58 +02:00
26d7b2afd5 Add C++ code to make use of .pc_list 2018-05-11 13:09:35 +02:00
83b304db95 Add script to extract all valid PCs of ELFs 2018-05-09 17:57:26 +02:00
789e79613c Refactor python shared snippets 2018-05-09 17:55:57 +02:00
066f1f06c1 Add compare_sizes: compare eh_elf vs eh_frame size 2018-05-09 15:32:42 +02:00
ba75dfa95f Fix eh_elf path error
The function `readlink` does not null-terminate its strings…
2018-05-09 15:32:34 +02:00
7b6ff32465 Enhance Makefile for tests 2018-05-09 12:40:52 +02:00
9aa74ad1f7 Add parameter --remote
Allows to offload the heavy steps (the compilation .c -> .o) to some
remote server
2018-05-07 15:49:22 +02:00
afe2d0b7c7 stack_walker: adapt to switch generation policies 2018-05-02 15:08:37 +02:00
c18027a0d2 generate_eh_elf.py: update to use dwarf-assembly options 2018-05-02 15:08:31 +02:00