Skip to content

Commit e373f90

Browse files
committed
Add a simple basic-block analysis to E9Tool
This partly integrates the basic-block recovery analysis from E9AFL into E9Tool. The idea is that the analysis is useful for other applications beyond AFL instrumentation. This is a WIP and not yet documented. The final form is not decided, and may change. The analysis is designed to be a conservative overapproximation for binaries generated by "normal" compilers. This means the analysis may incorrectly flag some instructions as basic-block entries, when they are really not. For some applications this is tolerable. The analysis does not attempt to solve the undecidable general case. The analysis is NOT used for the rewriting itself. Rather, the binary rewriting is still control-flow agnostic (E9Patch).
1 parent faa3695 commit e373f90

12 files changed

Lines changed: 541 additions & 32 deletions

File tree

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ E9PATCH_OBJS=\
1616
src/e9patch/e9x86_64.o
1717

1818
E9TOOL_SRC=\
19+
src/e9tool/e9cfg.cpp \
1920
src/e9tool/e9csv.cpp \
2021
src/e9tool/e9frontend.cpp \
2122
src/e9tool/e9metadata.cpp \

0 commit comments

Comments
 (0)