00001 #ifndef HEPHAESTUS_UTILS_H 00002 #define HEPHAESTUS_UTILS_H 00003 00004 #ifdef __cplusplus 00005 extern "C" { 00006 #endif 00007 00008 /* address -> human-readable, demangled symbol */ 00009 const char* hhh_getSymbol( void *addr ); 00010 00011 /* allocator address -> ctor address, if object and not inlined */ 00012 void* hhh_getConstructor( void *addr ); 00013 00014 /* internal, put referenced library at the end of the dl.so shlib list */ 00015 int hhh_setLinkLate( void *addr ); 00016 00017 #ifdef __cplusplus 00018 } /* extern "C" */ 00019 #endif 00020 00021 #endif /* !HEPHAESTUS_UTILS_H */