├── .gitignore ├── CMakeLists.txt ├── LICENSE.txt ├── README.md ├── ext ├── catch2 │ └── catch.hpp ├── cmdline │ └── cmdline.hpp ├── easylogging │ ├── easylogging++.cc │ └── easylogging++.h ├── gsl │ └── gsl-lite.hpp ├── json │ └── json.hpp └── libelfin │ ├── LICENSE │ ├── README.md │ └── elf │ ├── common.hh │ ├── data.hh │ ├── elf++.hh │ ├── elf.cc │ ├── mmap_loader.cc │ ├── to_hex.hh │ └── to_string.cc ├── install.sh ├── src ├── core │ ├── BasicBlock.cpp │ ├── BasicBlock.hpp │ ├── CSInstWrapper.cpp │ ├── CSInstWrapper.hpp │ ├── Common.cpp │ ├── Common.hpp │ ├── Disassembler.cpp │ ├── Disassembler.hpp │ ├── FileLoader.cpp │ ├── FileLoader.hpp │ ├── Function.cpp │ ├── Function.hpp │ ├── FunctionBuilder.cpp │ ├── FunctionBuilder.hpp │ ├── MCInst.cpp │ ├── MCInst.hpp │ ├── Region.cpp │ └── Region.hpp ├── dump │ ├── patch.c │ └── patch.h ├── dwarf │ ├── Data.cpp │ ├── Data.hpp │ ├── EhFrame.cpp │ ├── EhFrame.hpp │ ├── LEB128.hpp │ ├── PrettyPrint.cpp │ └── PrettyPrint.hpp ├── elf │ ├── ElfExtender.cpp │ ├── ElfExtender.hpp │ ├── ElfModule.cpp │ ├── ElfModule.hpp │ ├── ElfParser.cpp │ ├── ElfParser.hpp │ ├── ElfPatchManager.cpp │ ├── ElfPatchManager.hpp │ └── Util.hpp ├── flax │ ├── Emulator.cpp │ ├── Emulator.hpp │ ├── Flax.cpp │ └── Flax.hpp ├── graph │ ├── CFG.cpp │ ├── CFG.hpp │ ├── DirectedGraph.hpp │ ├── DominatorTree.cpp │ ├── DominatorTree.hpp │ ├── Dot.cpp │ ├── Dot.hpp │ ├── SuperBlock.cpp │ └── SuperBlock.hpp ├── main │ └── main.cpp ├── util │ ├── BcovConfig.cpp │ ├── BcovConfig.hpp │ ├── BcovConfigParser.cpp │ ├── BcovConfigParser.hpp │ ├── Demangler.cpp │ ├── Demangler.hpp │ ├── ElfData.hpp │ ├── FileUtil.hpp │ ├── Logging.cpp │ ├── Logging.hpp │ ├── ProgOptions.cpp │ └── ProgOptions.hpp └── x64 │ ├── Arch.cpp │ ├── Arch.hpp │ ├── Asm.cpp │ ├── Asm.hpp │ ├── Inst.cpp │ ├── Inst.hpp │ ├── JumpTabAnalyzer.cpp │ └── JumpTabAnalyzer.hpp └── tools └── bcov-rt ├── CMakeLists.txt ├── bcov-rt.c └── bcov-rt.h /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/.gitignore -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/README.md -------------------------------------------------------------------------------- /ext/catch2/catch.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/ext/catch2/catch.hpp -------------------------------------------------------------------------------- /ext/cmdline/cmdline.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/ext/cmdline/cmdline.hpp -------------------------------------------------------------------------------- /ext/easylogging/easylogging++.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/ext/easylogging/easylogging++.cc -------------------------------------------------------------------------------- /ext/easylogging/easylogging++.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/ext/easylogging/easylogging++.h -------------------------------------------------------------------------------- /ext/gsl/gsl-lite.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/ext/gsl/gsl-lite.hpp -------------------------------------------------------------------------------- /ext/json/json.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/ext/json/json.hpp -------------------------------------------------------------------------------- /ext/libelfin/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/ext/libelfin/LICENSE -------------------------------------------------------------------------------- /ext/libelfin/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/ext/libelfin/README.md -------------------------------------------------------------------------------- /ext/libelfin/elf/common.hh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/ext/libelfin/elf/common.hh -------------------------------------------------------------------------------- /ext/libelfin/elf/data.hh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/ext/libelfin/elf/data.hh -------------------------------------------------------------------------------- /ext/libelfin/elf/elf++.hh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/ext/libelfin/elf/elf++.hh -------------------------------------------------------------------------------- /ext/libelfin/elf/elf.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/ext/libelfin/elf/elf.cc -------------------------------------------------------------------------------- /ext/libelfin/elf/mmap_loader.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/ext/libelfin/elf/mmap_loader.cc -------------------------------------------------------------------------------- /ext/libelfin/elf/to_hex.hh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/ext/libelfin/elf/to_hex.hh -------------------------------------------------------------------------------- /ext/libelfin/elf/to_string.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/ext/libelfin/elf/to_string.cc -------------------------------------------------------------------------------- /install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/install.sh -------------------------------------------------------------------------------- /src/core/BasicBlock.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/core/BasicBlock.cpp -------------------------------------------------------------------------------- /src/core/BasicBlock.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/core/BasicBlock.hpp -------------------------------------------------------------------------------- /src/core/CSInstWrapper.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/core/CSInstWrapper.cpp -------------------------------------------------------------------------------- /src/core/CSInstWrapper.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/core/CSInstWrapper.hpp -------------------------------------------------------------------------------- /src/core/Common.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/core/Common.cpp -------------------------------------------------------------------------------- /src/core/Common.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/core/Common.hpp -------------------------------------------------------------------------------- /src/core/Disassembler.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/core/Disassembler.cpp -------------------------------------------------------------------------------- /src/core/Disassembler.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/core/Disassembler.hpp -------------------------------------------------------------------------------- /src/core/FileLoader.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/core/FileLoader.cpp -------------------------------------------------------------------------------- /src/core/FileLoader.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/core/FileLoader.hpp -------------------------------------------------------------------------------- /src/core/Function.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/core/Function.cpp -------------------------------------------------------------------------------- /src/core/Function.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/core/Function.hpp -------------------------------------------------------------------------------- /src/core/FunctionBuilder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/core/FunctionBuilder.cpp -------------------------------------------------------------------------------- /src/core/FunctionBuilder.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/core/FunctionBuilder.hpp -------------------------------------------------------------------------------- /src/core/MCInst.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/core/MCInst.cpp -------------------------------------------------------------------------------- /src/core/MCInst.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/core/MCInst.hpp -------------------------------------------------------------------------------- /src/core/Region.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/core/Region.cpp -------------------------------------------------------------------------------- /src/core/Region.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/core/Region.hpp -------------------------------------------------------------------------------- /src/dump/patch.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/dump/patch.c -------------------------------------------------------------------------------- /src/dump/patch.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/dump/patch.h -------------------------------------------------------------------------------- /src/dwarf/Data.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/dwarf/Data.cpp -------------------------------------------------------------------------------- /src/dwarf/Data.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/dwarf/Data.hpp -------------------------------------------------------------------------------- /src/dwarf/EhFrame.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/dwarf/EhFrame.cpp -------------------------------------------------------------------------------- /src/dwarf/EhFrame.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/dwarf/EhFrame.hpp -------------------------------------------------------------------------------- /src/dwarf/LEB128.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/dwarf/LEB128.hpp -------------------------------------------------------------------------------- /src/dwarf/PrettyPrint.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/dwarf/PrettyPrint.cpp -------------------------------------------------------------------------------- /src/dwarf/PrettyPrint.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/dwarf/PrettyPrint.hpp -------------------------------------------------------------------------------- /src/elf/ElfExtender.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/elf/ElfExtender.cpp -------------------------------------------------------------------------------- /src/elf/ElfExtender.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/elf/ElfExtender.hpp -------------------------------------------------------------------------------- /src/elf/ElfModule.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/elf/ElfModule.cpp -------------------------------------------------------------------------------- /src/elf/ElfModule.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/elf/ElfModule.hpp -------------------------------------------------------------------------------- /src/elf/ElfParser.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/elf/ElfParser.cpp -------------------------------------------------------------------------------- /src/elf/ElfParser.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/elf/ElfParser.hpp -------------------------------------------------------------------------------- /src/elf/ElfPatchManager.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/elf/ElfPatchManager.cpp -------------------------------------------------------------------------------- /src/elf/ElfPatchManager.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/elf/ElfPatchManager.hpp -------------------------------------------------------------------------------- /src/elf/Util.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/elf/Util.hpp -------------------------------------------------------------------------------- /src/flax/Emulator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/flax/Emulator.cpp -------------------------------------------------------------------------------- /src/flax/Emulator.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/flax/Emulator.hpp -------------------------------------------------------------------------------- /src/flax/Flax.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/flax/Flax.cpp -------------------------------------------------------------------------------- /src/flax/Flax.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/flax/Flax.hpp -------------------------------------------------------------------------------- /src/graph/CFG.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/graph/CFG.cpp -------------------------------------------------------------------------------- /src/graph/CFG.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/graph/CFG.hpp -------------------------------------------------------------------------------- /src/graph/DirectedGraph.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/graph/DirectedGraph.hpp -------------------------------------------------------------------------------- /src/graph/DominatorTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/graph/DominatorTree.cpp -------------------------------------------------------------------------------- /src/graph/DominatorTree.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/graph/DominatorTree.hpp -------------------------------------------------------------------------------- /src/graph/Dot.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/graph/Dot.cpp -------------------------------------------------------------------------------- /src/graph/Dot.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/graph/Dot.hpp -------------------------------------------------------------------------------- /src/graph/SuperBlock.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/graph/SuperBlock.cpp -------------------------------------------------------------------------------- /src/graph/SuperBlock.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/graph/SuperBlock.hpp -------------------------------------------------------------------------------- /src/main/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/main/main.cpp -------------------------------------------------------------------------------- /src/util/BcovConfig.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/util/BcovConfig.cpp -------------------------------------------------------------------------------- /src/util/BcovConfig.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/util/BcovConfig.hpp -------------------------------------------------------------------------------- /src/util/BcovConfigParser.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/util/BcovConfigParser.cpp -------------------------------------------------------------------------------- /src/util/BcovConfigParser.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/util/BcovConfigParser.hpp -------------------------------------------------------------------------------- /src/util/Demangler.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/util/Demangler.cpp -------------------------------------------------------------------------------- /src/util/Demangler.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/util/Demangler.hpp -------------------------------------------------------------------------------- /src/util/ElfData.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/util/ElfData.hpp -------------------------------------------------------------------------------- /src/util/FileUtil.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/util/FileUtil.hpp -------------------------------------------------------------------------------- /src/util/Logging.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/util/Logging.cpp -------------------------------------------------------------------------------- /src/util/Logging.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/util/Logging.hpp -------------------------------------------------------------------------------- /src/util/ProgOptions.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/util/ProgOptions.cpp -------------------------------------------------------------------------------- /src/util/ProgOptions.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/util/ProgOptions.hpp -------------------------------------------------------------------------------- /src/x64/Arch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/x64/Arch.cpp -------------------------------------------------------------------------------- /src/x64/Arch.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/x64/Arch.hpp -------------------------------------------------------------------------------- /src/x64/Asm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/x64/Asm.cpp -------------------------------------------------------------------------------- /src/x64/Asm.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/x64/Asm.hpp -------------------------------------------------------------------------------- /src/x64/Inst.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/x64/Inst.cpp -------------------------------------------------------------------------------- /src/x64/Inst.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/x64/Inst.hpp -------------------------------------------------------------------------------- /src/x64/JumpTabAnalyzer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/x64/JumpTabAnalyzer.cpp -------------------------------------------------------------------------------- /src/x64/JumpTabAnalyzer.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/src/x64/JumpTabAnalyzer.hpp -------------------------------------------------------------------------------- /tools/bcov-rt/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/tools/bcov-rt/CMakeLists.txt -------------------------------------------------------------------------------- /tools/bcov-rt/bcov-rt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/tools/bcov-rt/bcov-rt.c -------------------------------------------------------------------------------- /tools/bcov-rt/bcov-rt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abenkhadra/bcov/HEAD/tools/bcov-rt/bcov-rt.h --------------------------------------------------------------------------------