12 lines
370 B
C
12 lines
370 B
C
#ifndef _SYMBOL_ENUMERATOR_H
|
|
#define _SYMBOL_ENUMERATOR_H
|
|
|
|
//Enumerates all symbols in the currently loaded excutable.
|
|
//Don't forget to compile with -rdynamic!
|
|
|
|
//Return 0 to continue search. 1 to stop.
|
|
typedef int (*SymEnumeratorCallback)( const char * path, const char * name, void * location, long size );
|
|
|
|
int EnumerateSymbols( SymEnumeratorCallback cb );
|
|
|
|
#endif
|