21 #ifndef OTAWA_LOADER_GLISS_H
22 #define OTAWA_LOADER_GLISS_H
37 virtual void free(
void *desc) = 0;
38 template <
class T>
inline void decode(
Inst *inst, T *&desc)
39 { desc =
static_cast<T *
>(
decode(inst)); }
49 #endif // OTAWA_LOADER_GLISS_H
struct otawa::sem::inst inst
Identifier< Info * > INFO
This identifier allows to get the gliss::Info object from loader supporting it from a process generat...
Feature< NoProcessor > INFO_FEATURE
This feature that the current process has been built by a loader based on the GLISS tool...
virtual void free(void *desc)=0
void decode(Inst *inst, T *&desc)
void Info::free(void *desc); Free a GLISS instruction descriptor previously allocated by Info::decode...
Definition: gliss.h:38
virtual ~Info(void)
Definition: Loader.cpp:174
This class represents identifier with a typed associated value.
Definition: Identifier.h:51
virtual bool check(t::uint32 checksum)=0
As the validity of the data used in Gliss is strongly coupled with the data of an analysis using this...
This class represents assembly instruction of a piece of code.
Definition: Inst.h:62
A feature is a set of facilities, usually provided using properties, available on a framework...
Definition: Feature.h:46
virtual void * decode(Inst *inst)=0
Decode an instruction and return its descriptor.
This class provides access to the stay-behind GLISS data structures and code provided by the GLISS v2...
Definition: gliss.h:33