GenericExperiment: target ELF file now specifiable

Up until now only generic-tracing had the feature to directly
pass an ELF file to the experiment. generic-experiment lacked
that functionality and resorted to using the $FAIL_ELF_PATH
environment variable.
This change introduces the "--elf-file" command line argument
to generic-experiment.

Change-Id: Ie74de9e1781275ab247786856e13e412bac39224
This commit is contained in:
Michael Lenz
2016-02-10 10:21:31 +01:00
committed by Horst Schirmeier
parent 52baab2d76
commit bcf75bceee
2 changed files with 28 additions and 5 deletions

View File

@ -14,7 +14,8 @@
class GenericExperiment : public fail::DatabaseExperiment {
fail::ElfReader m_elf;
fail::ElfReader *m_elf;
std::string elf_file;
std::string m_state_dir;