

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. | |
| int | 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 |
| copy data to globals | |
| void | install_var (void *datav, void *ptr) const |
| void | read_var (void *datav, void *ptr) const |
| 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. | |
| int | 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) |
| int | isUserSymbol (const char *name) |
Private Attributes | |
| int | datalen |
| Number of bytes in the table of global data. | |
| CkVec< CtgRec > | rec |
| int | nRec |
| CkVec< CtgRec > | rec |
Data Structures | |
| struct | CtgRec |
Definition at line 63 of file global-elfcopy.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.
Analyze the current set of global variables, determine which are user globals and which are system globals, and store the list of user globals.
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 180 of file global-elfcopy.C.
References datalen, lookup_obj_sym(), nRec, printf(), ptr, rec, size, and CkVec< T >::size().
| 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.
| int CtgGlobalList::getSize | ( | void | ) | const [inline] |
Return the number of bytes needed to store our global data.
Definition at line 84 of file global-elfcopy.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 131 of file global-elfcopy.C.
References data, nRec, rec, and size.
Referenced by CtgCreate(), CtgInit(), and CtgInstall().
| void CtgGlobalList::install | ( | void * | datav | ) | const [inline] |
copy data to globals
Definition at line 91 of file global-elfcopy.C.
References data, nRec, rec, and size.
Referenced by CtgInit(), and CtgInstall().
| void CtgGlobalList::install_var | ( | void * | datav, | |
| void * | ptr | |||
| ) | const [inline] |
Definition at line 98 of file global-elfcopy.C.
References data, nRec, rec, and size.
Referenced by CtgInstall_var(), and CtgUninstall_var().
| void CtgGlobalList::read_var | ( | void * | datav, | |
| void * | ptr | |||
| ) | const |
Definition at line 138 of file global-elfcopy.C.
References data, nRec, rec, and size.
Referenced by CtgInstall_var(), and CtgUninstall_var().
| int CtgGlobalList::isUserSymbol | ( | const char * | name | ) | [private] |
if the name is on the blacklist, it is not a user symbol
Definition at line 118 of file global-elfcopy.C.
| int CtgGlobalList::getSize | ( | void | ) | const [inline] |
Return the number of bytes needed to store our global data.
Definition at line 167 of file global-elfgot.C.
References datalen.
| void CtgGlobalList::read | ( | void * | datav | ) | const |
Copy the current set of global data into this set, which must be getSize() bytes.
| void CtgGlobalList::install | ( | void * | datav | ) | const [inline] |
| int CtgGlobalList::isUserSymbol | ( | const char * | name | ) | [private] |
int CtgGlobalList::datalen [private] |
Number of bytes in the table of global data.
Definition at line 65 of file global-elfcopy.C.
Referenced by CtgGlobalList(), and getSize().
CkVec<CtgRec> CtgGlobalList::rec [private] |
Definition at line 73 of file global-elfcopy.C.
Referenced by CtgGlobalList(), install(), install_var(), read(), and read_var().
int CtgGlobalList::nRec [private] |
Definition at line 74 of file global-elfcopy.C.
Referenced by CtgGlobalList(), install(), install_var(), read(), and read_var().
CkVec<CtgRec> CtgGlobalList::rec [private] |
Definition at line 156 of file global-elfgot.C.
1.5.5