Object constructor.
52 throw exception(
"invalid argument: path (=%p)",
path);
58 u32 flags = RTLD_LOCAL | RTLD_LAZY;
66 throw exception(
"failed to load plugin '%s' (%s)",
m_path, dlerror());
70 #if CSDBG_DBG_LEVEL & CSDBG_DBGL_INFO
modsym_t m_end
Instrumentation ending callback.
virtual const i8 * path() const
Get the module file path.
char i8
8-bit signed integer
#define likely(expr)
Offer a hint (positive) to the pipeline branch predictor.
virtual plugin & destroy()
Object deconstruction.
modsym_t m_begin
Instrumentation starting callback.
i8 * m_path
Module file path.
unsigned int u32
32-bit unsigned integer
virtual modsym_t resolve(const i8 *, const i8 *=NULL) const
Resolve a module symbol.
void * m_handle
DSO handle (as provided by dlopen)
#define unlikely(expr)
Offer a hint (negative) to the pipeline branch predictor.
static void dbg_info(const i8 *,...)
Print an informational debug message on the standard error stream.