1 #include "../include/symbol.hpp"
25 if (
likely(nm != NULL) ) {
44 if (
likely(buf != NULL) ) {
119 u32 len = strlen(buf);
virtual symbol & operator=(const symbol &)
Assignment operator.
This class represents a program/library function symbol.
virtual symbol * clone() const
Object virtual copy constructor.
virtual ~symbol()
Object destructor.
char i8
8-bit signed integer
mem_addr_t m_addr
Symbol address.
#define likely(expr)
Offer a hint (positive) to the pipeline branch predictor.
virtual mem_addr_t addr() const
Get the symbol address.
virtual const i8 * name() const
Get the symbol name.
unsigned int u32
32-bit unsigned integer
symbol(mem_addr_t, const i8 *)
Object constructor.
unsigned long long mem_addr_t
64-bit memory address
#define unlikely(expr)
Offer a hint (negative) to the pipeline branch predictor.
#define __D_ASSERT(x)
Assertion macro.