Public Member Functions | |
CtgGlobalList () | |
Analyze the current set of global variables, determine which are user globals and which are system globals, and store the list of user globals. | |
size_t | getSize (void) const |
Return the number of bytes needed to store our global data. | |
void | read (void *datav) const |
Copy the current set of global data into this set, which must be getSize() bytes. | |
void | install (void *datav) const |
Point at this set of global data (must be getSize() bytes). | |
Private Member Functions | |
int | isUserSymbol (const char *name) |
Private Attributes | |
size_t | datalen |
Number of bytes in the table of global data. | |
std::vector< CtgRec > | rec |
Data Structures | |
struct | CtgRec |
Definition at line 151 of file global-elfgot.C.
CtgGlobalList::CtgGlobalList | ( | ) |
Analyze the current set of global variables, determine which are user globals and which are system globals, and store the list of user globals.
Definition at line 262 of file global-elfgot.C.
References _DYNAMIC, CmiAbort(), CmiGetPageSize(), count, datalen, isUserSymbol(), rec, size, size_t, and type.
size_t CtgGlobalList::getSize | ( | void | ) | const [inline] |
Return the number of bytes needed to store our global data.
Definition at line 170 of file global-elfgot.C.
References datalen.
Referenced by CtgCreate(), CtgInit(), and CtgPup().
void CtgGlobalList::read | ( | void * | datav | ) | const |
Copy the current set of global data into this set, which must be getSize() bytes.
Definition at line 242 of file global-elfgot.C.
References data, datalen, rec, and size.
Referenced by CtgCreate(), and CtgInit().
void CtgGlobalList::install | ( | void * | datav | ) | const [inline] |
Point at this set of global data (must be getSize() bytes).
Definition at line 177 of file global-elfgot.C.
Referenced by CtgInit(), and CtgInstall().
int CtgGlobalList::isUserSymbol | ( | const char * | name | ) | [private] |
if the name is on the blacklist, it is not a user symbol
Definition at line 214 of file global-elfgot.C.
References _blacklist, and match().
Referenced by CtgGlobalList().
size_t CtgGlobalList::datalen [private] |
Number of bytes in the table of global data.
Definition at line 153 of file global-elfgot.C.
Referenced by CtgGlobalList(), getSize(), and read().
std::vector<CtgRec> CtgGlobalList::rec [private] |
Definition at line 160 of file global-elfgot.C.
Referenced by CtgGlobalList(), install(), and read().