54 #define ETISS_LIBNAME ETISSINCLUDED
88 return "BlockAccurateHandler";
92 return "PrintInstruction";
117 if (iter->first.length() > 2 && iter->first[0] ==
'-' && iter->first[1] ==
'r')
119 std::string regname = iter->first.substr(2);
125 std::string(
"IntegratedLibrary: failed to parse option for BlockAccurateHandler: ") +
126 iter->first +
"->" + iter->second);
139 cfg.get<
uint64_t>(
"plugin.logger.logmask", 0xF0000000));
154 return ETISSINCLUDED_etissversion();
defines the functions needed for a library that provides etiss::CPUArch implementations
ETISS_PLUGIN_EXPORT etiss::CPUArch std::map< std::string, std::string > options
create new instance of the CPUArch type at index
void ETISSINCLUDED_deleteJIT(etiss::JIT *o)
ETISS_LIBRARYIF_VERSION_FUNC_IMPL unsigned ETISSINCLUDED_countJIT()
unsigned ETISSINCLUDED_countCPUArch()
unsigned ETISSINCLUDED_countPlugin()
etiss::Plugin * ETISSINCLUDED_createPlugin(unsigned index, std::map< std::string, std::string > options)
etiss::JIT * ETISSINCLUDED_createJIT(unsigned index, std::map< std::string, std::string > options)
etiss::CPUArch * ETISSINCLUDED_createCPUArch(unsigned index, std::map< std::string, std::string > options)
const char * ETISSINCLUDED_nameJIT(unsigned index)
const char * ETISSINCLUDED_nameCPUArch(unsigned index)
const char * ETISSINCLUDED_namePlugin(unsigned index)
void ETISSINCLUDED_deleteCPUArch(etiss::CPUArch *o)
void ETISSINCLUDED_deletePlugin(etiss::Plugin *o)
defines the functions needed for a library that provides etiss::JIT implementations
class for simple library access.
defines the functions needed for a library that provides etiss::CPUArch implementations
contains a simple plugin to print instructions
static __inline__ uint64_t
the interface to translate instructions of and processor architecture
simple class to hold configuration options
compiler interface for just in time compilation of generated C code
static unsigned getCurrentLibraryVersion()
base plugin class that provides access to different plugin functions if present
simple logger implementation.
a simple plugin that prints the instruction and address when an instruction is executed
Register error injection class.
void parseFile(std::string filename, std::string reg)
reads a file and adds the errors.
static Server * createTCPServer(std::map< std::string, std::string > options)
#define ETISS_LIBRARYIF_VERSION_FUNC_IMPL
void log(Verbosity level, std::string msg)
write log message at the given level.