util: Added disassembler using objdump tool.

The disassembler disassembles an elf file with
an external objdump tool.
The architecture specific objdump must be configured
via cmake (ARCH_TOOL_PREFIX), e.g. arm-none-eabi- for
arm-none-eabi-objdump.
This commit is contained in:
Martin Hoffmann
2013-03-05 21:14:16 +01:00
parent 010137cf54
commit 1fe1dbb3ed
10 changed files with 2340 additions and 49 deletions

View File

@ -20,6 +20,7 @@
#include "campaign.hpp"
#include "kesoref.pb.h"
#include "util/Disassembler.hpp"
using namespace std;
using namespace fail;
@ -79,6 +80,7 @@ void handleMemoryAccessEvent(KesoRefExperimentData& param, const fail::MemAccess
bool KESOrefs::run()
{
m_dis.init();
//******* Boot, and store state *******//
m_log << "STARTING EXPERIMENT" << endl;
#if SAFESTATE // define SS (SafeState) when building: make -DSS