├── .gitignore ├── LICENSE ├── Makefile ├── README.md ├── benching ├── README.md ├── csmith │ ├── .gitignore │ ├── csmith-bench.sh │ └── gen_call_graph.py ├── gzip │ ├── .gitignore │ └── EVALUATION.md ├── hackbench │ ├── .gitignore │ ├── EVALUATION.md │ ├── Makefile │ ├── README.md │ ├── hackbench.c │ └── to_report_fmt.py ├── python3.7 │ └── test.py └── tools │ ├── common.sh │ ├── errors.sh │ ├── errors_new.sh │ ├── gen_evals.sh │ ├── gen_perf_stats.py │ ├── line_patterns.py │ ├── statistics.sh │ └── to_report_fmt.py ├── compare_sizes.py ├── env └── apply ├── extract_pc.py ├── generate_eh_elf.py ├── shared └── context_struct.h ├── shared_python.py ├── src ├── .gitignore ├── AntiOverlapFilter.cpp ├── AntiOverlapFilter.hpp ├── CodeGenerator.cpp ├── CodeGenerator.hpp ├── ConseqEquivFilter.cpp ├── ConseqEquivFilter.hpp ├── DwarfReader.cpp ├── DwarfReader.hpp ├── EmptyFdeDeleter.cpp ├── EmptyFdeDeleter.hpp ├── FactoredSwitchCompiler.cpp ├── FactoredSwitchCompiler.hpp ├── Makefile ├── NativeSwitchCompiler.cpp ├── NativeSwitchCompiler.hpp ├── OverriddenRowFilter.cpp ├── OverriddenRowFilter.hpp ├── PcHoleFiller.cpp ├── PcHoleFiller.hpp ├── PcListReader.cpp ├── PcListReader.hpp ├── README.md ├── SimpleDwarf.cpp ├── SimpleDwarf.hpp ├── SimpleDwarfFilter.cpp ├── SimpleDwarfFilter.hpp ├── SwitchStatement.cpp ├── SwitchStatement.hpp ├── main.cpp ├── plt_std_expr.hpp ├── settings.cpp └── settings.hpp ├── stack_walker ├── Makefile ├── stack_walker.cpp └── stack_walker.hpp ├── stack_walker_libunwind ├── Makefile ├── stack_walker.cpp └── stack_walker.hpp ├── stats ├── .gitignore ├── README.md ├── __init__.py ├── fde_stats.py ├── gather_stats.py ├── helpers.py ├── pyelftools_overlay.py ├── requirements.txt └── stats_accu.py └── tests ├── .gitignore ├── Makefile └── stack_walked.cpp /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/README.md -------------------------------------------------------------------------------- /benching/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/benching/README.md -------------------------------------------------------------------------------- /benching/csmith/.gitignore: -------------------------------------------------------------------------------- 1 | /tests 2 | -------------------------------------------------------------------------------- /benching/csmith/csmith-bench.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/benching/csmith/csmith-bench.sh -------------------------------------------------------------------------------- /benching/csmith/gen_call_graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/benching/csmith/gen_call_graph.py -------------------------------------------------------------------------------- /benching/gzip/.gitignore: -------------------------------------------------------------------------------- 1 | gzip 2 | gzip-1.10 3 | perf.data 4 | -------------------------------------------------------------------------------- /benching/gzip/EVALUATION.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/benching/gzip/EVALUATION.md -------------------------------------------------------------------------------- /benching/hackbench/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/benching/hackbench/.gitignore -------------------------------------------------------------------------------- /benching/hackbench/EVALUATION.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/benching/hackbench/EVALUATION.md -------------------------------------------------------------------------------- /benching/hackbench/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/benching/hackbench/Makefile -------------------------------------------------------------------------------- /benching/hackbench/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/benching/hackbench/README.md -------------------------------------------------------------------------------- /benching/hackbench/hackbench.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/benching/hackbench/hackbench.c -------------------------------------------------------------------------------- /benching/hackbench/to_report_fmt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/benching/hackbench/to_report_fmt.py -------------------------------------------------------------------------------- /benching/python3.7/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/benching/python3.7/test.py -------------------------------------------------------------------------------- /benching/tools/common.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/benching/tools/common.sh -------------------------------------------------------------------------------- /benching/tools/errors.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/benching/tools/errors.sh -------------------------------------------------------------------------------- /benching/tools/errors_new.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/benching/tools/errors_new.sh -------------------------------------------------------------------------------- /benching/tools/gen_evals.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/benching/tools/gen_evals.sh -------------------------------------------------------------------------------- /benching/tools/gen_perf_stats.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/benching/tools/gen_perf_stats.py -------------------------------------------------------------------------------- /benching/tools/line_patterns.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/benching/tools/line_patterns.py -------------------------------------------------------------------------------- /benching/tools/statistics.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/benching/tools/statistics.sh -------------------------------------------------------------------------------- /benching/tools/to_report_fmt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/benching/tools/to_report_fmt.py -------------------------------------------------------------------------------- /compare_sizes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/compare_sizes.py -------------------------------------------------------------------------------- /env/apply: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/env/apply -------------------------------------------------------------------------------- /extract_pc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/extract_pc.py -------------------------------------------------------------------------------- /generate_eh_elf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/generate_eh_elf.py -------------------------------------------------------------------------------- /shared/context_struct.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/shared/context_struct.h -------------------------------------------------------------------------------- /shared_python.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/shared_python.py -------------------------------------------------------------------------------- /src/.gitignore: -------------------------------------------------------------------------------- 1 | dwarf-assembly 2 | gen_*.hpp 3 | -------------------------------------------------------------------------------- /src/AntiOverlapFilter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/src/AntiOverlapFilter.cpp -------------------------------------------------------------------------------- /src/AntiOverlapFilter.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/src/AntiOverlapFilter.hpp -------------------------------------------------------------------------------- /src/CodeGenerator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/src/CodeGenerator.cpp -------------------------------------------------------------------------------- /src/CodeGenerator.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/src/CodeGenerator.hpp -------------------------------------------------------------------------------- /src/ConseqEquivFilter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/src/ConseqEquivFilter.cpp -------------------------------------------------------------------------------- /src/ConseqEquivFilter.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/src/ConseqEquivFilter.hpp -------------------------------------------------------------------------------- /src/DwarfReader.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/src/DwarfReader.cpp -------------------------------------------------------------------------------- /src/DwarfReader.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/src/DwarfReader.hpp -------------------------------------------------------------------------------- /src/EmptyFdeDeleter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/src/EmptyFdeDeleter.cpp -------------------------------------------------------------------------------- /src/EmptyFdeDeleter.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/src/EmptyFdeDeleter.hpp -------------------------------------------------------------------------------- /src/FactoredSwitchCompiler.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/src/FactoredSwitchCompiler.cpp -------------------------------------------------------------------------------- /src/FactoredSwitchCompiler.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/src/FactoredSwitchCompiler.hpp -------------------------------------------------------------------------------- /src/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/src/Makefile -------------------------------------------------------------------------------- /src/NativeSwitchCompiler.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/src/NativeSwitchCompiler.cpp -------------------------------------------------------------------------------- /src/NativeSwitchCompiler.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/src/NativeSwitchCompiler.hpp -------------------------------------------------------------------------------- /src/OverriddenRowFilter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/src/OverriddenRowFilter.cpp -------------------------------------------------------------------------------- /src/OverriddenRowFilter.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/src/OverriddenRowFilter.hpp -------------------------------------------------------------------------------- /src/PcHoleFiller.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/src/PcHoleFiller.cpp -------------------------------------------------------------------------------- /src/PcHoleFiller.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/src/PcHoleFiller.hpp -------------------------------------------------------------------------------- /src/PcListReader.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/src/PcListReader.cpp -------------------------------------------------------------------------------- /src/PcListReader.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/src/PcListReader.hpp -------------------------------------------------------------------------------- /src/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/src/README.md -------------------------------------------------------------------------------- /src/SimpleDwarf.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/src/SimpleDwarf.cpp -------------------------------------------------------------------------------- /src/SimpleDwarf.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/src/SimpleDwarf.hpp -------------------------------------------------------------------------------- /src/SimpleDwarfFilter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/src/SimpleDwarfFilter.cpp -------------------------------------------------------------------------------- /src/SimpleDwarfFilter.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/src/SimpleDwarfFilter.hpp -------------------------------------------------------------------------------- /src/SwitchStatement.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/src/SwitchStatement.cpp -------------------------------------------------------------------------------- /src/SwitchStatement.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/src/SwitchStatement.hpp -------------------------------------------------------------------------------- /src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/src/main.cpp -------------------------------------------------------------------------------- /src/plt_std_expr.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/src/plt_std_expr.hpp -------------------------------------------------------------------------------- /src/settings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/src/settings.cpp -------------------------------------------------------------------------------- /src/settings.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/src/settings.hpp -------------------------------------------------------------------------------- /stack_walker/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/stack_walker/Makefile -------------------------------------------------------------------------------- /stack_walker/stack_walker.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/stack_walker/stack_walker.cpp -------------------------------------------------------------------------------- /stack_walker/stack_walker.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/stack_walker/stack_walker.hpp -------------------------------------------------------------------------------- /stack_walker_libunwind/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/stack_walker_libunwind/Makefile -------------------------------------------------------------------------------- /stack_walker_libunwind/stack_walker.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/stack_walker_libunwind/stack_walker.cpp -------------------------------------------------------------------------------- /stack_walker_libunwind/stack_walker.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/stack_walker_libunwind/stack_walker.hpp -------------------------------------------------------------------------------- /stats/.gitignore: -------------------------------------------------------------------------------- 1 | venv 2 | elf_data* 3 | gathered 4 | -------------------------------------------------------------------------------- /stats/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/stats/README.md -------------------------------------------------------------------------------- /stats/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stats/fde_stats.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/stats/fde_stats.py -------------------------------------------------------------------------------- /stats/gather_stats.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/stats/gather_stats.py -------------------------------------------------------------------------------- /stats/helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/stats/helpers.py -------------------------------------------------------------------------------- /stats/pyelftools_overlay.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/stats/pyelftools_overlay.py -------------------------------------------------------------------------------- /stats/requirements.txt: -------------------------------------------------------------------------------- 1 | git+https://github.com/eliben/pyelftools 2 | -------------------------------------------------------------------------------- /stats/stats_accu.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/stats/stats_accu.py -------------------------------------------------------------------------------- /tests/.gitignore: -------------------------------------------------------------------------------- 1 | *.bin 2 | pc_list.* 3 | -------------------------------------------------------------------------------- /tests/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/tests/Makefile -------------------------------------------------------------------------------- /tests/stack_walked.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frdwarf/dwarf-assembly/HEAD/tests/stack_walked.cpp --------------------------------------------------------------------------------