import-trace: introduce InstructionImporter

The InstructionImporter does disassemble the binary and generate read
traces for every instruction byte executed.

Change-Id: I6b8697c711c009e106ed733c74c6ff8f9bbf8ac5
This commit is contained in:
Christian Dietrich
2013-05-31 15:35:07 +02:00
parent 9843b520c1
commit bedb9c2eb2
7 changed files with 151 additions and 8 deletions

View File

@ -48,6 +48,8 @@ void ElfReader::setup(const char* path) {
return;
}
m_filename = std::string(path);
// Evaluate headers
Elf32_Ehdr ehdr;
Elf32_Shdr sec_hdr;