16#define ETISS_LIBNAME ETISSINCLUDED
69 return "BlockAccurateHandler";
73 return "PrintInstruction";
101 if (iter->first.length() > 2 && iter->first[0] ==
'-' && iter->first[1] ==
'r')
103 std::string regname = iter->first.substr(2);
109 std::string(
"IntegratedLibrary: failed to parse option for BlockAccurateHandler: ") +
110 iter->first +
"->" + iter->second);
123 cfg.get<
uint64_t>(
"plugin.logger.logmask", 0xF0000000));
147 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
contains neccesary interfaces for instruction translation.
void ETISSINCLUDED_deleteJIT(etiss::JIT *o)
ETISS_LIBRARYIF_VERSION_FUNC_IMPL unsigned ETISSINCLUDED_countJIT()
const char * ETISSINCLUDED_nameJIT(unsigned index)
unsigned ETISSINCLUDED_countCPUArch()
unsigned ETISSINCLUDED_countPlugin()
etiss::Plugin * ETISSINCLUDED_createPlugin(unsigned index, std::map< std::string, std::string > options)
etiss::CPUArch * ETISSINCLUDED_createCPUArch(unsigned index, std::map< std::string, std::string > options)
etiss::JIT * ETISSINCLUDED_createJIT(unsigned index, std::map< std::string, std::string > options)
const char * ETISSINCLUDED_namePlugin(unsigned index)
void ETISSINCLUDED_deleteCPUArch(etiss::CPUArch *o)
const char * ETISSINCLUDED_nameCPUArch(unsigned index)
void ETISSINCLUDED_deletePlugin(etiss::Plugin *o)
defines the functions needed for a library that provides etiss::JIT implementations
JIT compiler interface definition.
class for simple library access.
defines the functions needed for a library that provides etiss::CPUArch implementations
plugins for extensions to code translation and instruction execution
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.