ETISS 0.11.2
ExtendableTranslatingInstructionSetSimulator(version0.11.2)
Loading...
Searching...
No Matches
Macros | Functions
IntegratedLibrary.cpp File Reference

example implementation of a dynamic library interface that is used to provide access to integrated plugins. More...

#include "etiss/helper/CPUArchLibrary.h"
#include "etiss/helper/JITLibrary.h"
#include "etiss/helper/PluginLibrary.h"
#include "etiss/LibraryInterface.h"
#include "etiss/IntegratedLibrary/Logger.h"
#include "etiss/IntegratedLibrary/PrintInstruction.h"
#include "etiss/IntegratedLibrary/errorInjection/Plugin.h"
#include "etiss/IntegratedLibrary/gdb/GDBServer.h"
#include "etiss/CPUArch.h"
#include "etiss/JIT.h"
#include "etiss/Plugin.h"
Include dependency graph for IntegratedLibrary.cpp:

Go to the source code of this file.

Macros

#define ETISS_LIBNAME   ETISSINCLUDED
 

Functions

ETISS_LIBRARYIF_VERSION_FUNC_IMPL unsigned ETISSINCLUDED_countJIT ()
 
unsigned ETISSINCLUDED_countCPUArch ()
 
unsigned ETISSINCLUDED_countPlugin ()
 
const char * ETISSINCLUDED_nameJIT (unsigned index)
 
const char * ETISSINCLUDED_nameCPUArch (unsigned index)
 
const char * ETISSINCLUDED_namePlugin (unsigned index)
 
etiss::JITETISSINCLUDED_createJIT (unsigned index, std::map< std::string, std::string > options)
 
etiss::CPUArchETISSINCLUDED_createCPUArch (unsigned index, std::map< std::string, std::string > options)
 
etiss::PluginETISSINCLUDED_createPlugin (unsigned index, std::map< std::string, std::string > options)
 
void ETISSINCLUDED_deleteJIT (etiss::JIT *o)
 
void ETISSINCLUDED_deleteCPUArch (etiss::CPUArch *o)
 
void ETISSINCLUDED_deletePlugin (etiss::Plugin *o)
 

Detailed Description

example implementation of a dynamic library interface that is used to provide access to integrated plugins.

Other dynamic libraries should be implemented like this

Definition in file IntegratedLibrary.cpp.

Macro Definition Documentation

◆ ETISS_LIBNAME

#define ETISS_LIBNAME   ETISSINCLUDED

Definition at line 16 of file IntegratedLibrary.cpp.

Function Documentation

◆ ETISSINCLUDED_countCPUArch()

unsigned ETISSINCLUDED_countCPUArch ( )

Definition at line 44 of file IntegratedLibrary.cpp.

Referenced by IntegratedLibrary::countCPUArchs().

Here is the caller graph for this function:

◆ ETISSINCLUDED_countJIT()

ETISS_LIBRARYIF_VERSION_FUNC_IMPL unsigned ETISSINCLUDED_countJIT ( )

Definition at line 39 of file IntegratedLibrary.cpp.

Referenced by IntegratedLibrary::countJITs().

Here is the caller graph for this function:

◆ ETISSINCLUDED_countPlugin()

unsigned ETISSINCLUDED_countPlugin ( )

Definition at line 49 of file IntegratedLibrary.cpp.

Referenced by IntegratedLibrary::countPlugins().

Here is the caller graph for this function:

◆ ETISSINCLUDED_createCPUArch()

etiss::CPUArch * ETISSINCLUDED_createCPUArch ( unsigned  index,
std::map< std::string, std::string >  options 
)

Definition at line 85 of file IntegratedLibrary.cpp.

Referenced by IntegratedLibrary::createCPUArch().

Here is the caller graph for this function:

◆ ETISSINCLUDED_createJIT()

etiss::JIT * ETISSINCLUDED_createJIT ( unsigned  index,
std::map< std::string, std::string >  options 
)

Definition at line 80 of file IntegratedLibrary.cpp.

Referenced by IntegratedLibrary::createJIT().

Here is the caller graph for this function:

◆ ETISSINCLUDED_createPlugin()

etiss::Plugin * ETISSINCLUDED_createPlugin ( unsigned  index,
std::map< std::string, std::string >  options 
)

expected option format: -rREGISTERNAME -> FILEPATH (e.g. -rR4 -> /home/you/registerErrors.txt)

Definition at line 90 of file IntegratedLibrary.cpp.

References etiss::plugin::gdb::Server::createTCPServer(), etiss::log(), options, etiss::plugin::errorInjection::BlockAccurateHandler::parseFile(), uint64_t, and etiss::WARNING.

Referenced by IntegratedLibrary::createPlugin().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ETISSINCLUDED_deleteCPUArch()

void ETISSINCLUDED_deleteCPUArch ( etiss::CPUArch o)

Definition at line 133 of file IntegratedLibrary.cpp.

◆ ETISSINCLUDED_deleteJIT()

void ETISSINCLUDED_deleteJIT ( etiss::JIT o)

Definition at line 128 of file IntegratedLibrary.cpp.

◆ ETISSINCLUDED_deletePlugin()

void ETISSINCLUDED_deletePlugin ( etiss::Plugin o)

Definition at line 138 of file IntegratedLibrary.cpp.

◆ ETISSINCLUDED_nameCPUArch()

const char * ETISSINCLUDED_nameCPUArch ( unsigned  index)

Definition at line 59 of file IntegratedLibrary.cpp.

Referenced by IntegratedLibrary::nameCPUArch().

Here is the caller graph for this function:

◆ ETISSINCLUDED_nameJIT()

const char * ETISSINCLUDED_nameJIT ( unsigned  index)

Definition at line 54 of file IntegratedLibrary.cpp.

Referenced by IntegratedLibrary::nameJIT().

Here is the caller graph for this function:

◆ ETISSINCLUDED_namePlugin()

const char * ETISSINCLUDED_namePlugin ( unsigned  index)

Definition at line 64 of file IntegratedLibrary.cpp.

Referenced by IntegratedLibrary::namePlugin().

Here is the caller graph for this function: