blob: 87e033b460caa6cbed0f1845e81e39e61e98ea2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#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
|