ATLAS Offline Software
Control/Hephaestus/Hephaestus/Utils.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef HEPHAESTUS_UTILS_H
6 #define HEPHAESTUS_UTILS_H
7 
8 #include <stdio.h>
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 /* address -> human-readable, demangled symbol */
15 const char* hhh_getSymbol( void *addr );
16 const char* hhh_getSymbolE( void *addr );
17 const char* hhh_addrToLine( void *addr, const char** symbol );
18 int hhh_writeSymbols( FILE *out );
19 
20 /* allocator address -> ctor address, if object and not inlined */
21 void* hhh_getConstructor( void *addr );
22 
23 /* internal, put referenced library at the end of the dl.so shlib list */
24 int hhh_setLinkLate( void *addr );
25 
26 /* internal, for syncing cleanup */
28 
29 #ifdef __cplusplus
30 } /* extern "C" */
31 #endif
32 
33 #endif /* !HEPHAESTUS_UTILS_H */
hhh_writeSymbols
int hhh_writeSymbols(FILE *out)
hhh_getSymbolE
const char * hhh_getSymbolE(void *addr)
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
hhh_addrToLine
const char * hhh_addrToLine(void *addr, const char **symbol)
hhh_utils_cleanup
void hhh_utils_cleanup()
hhh_setLinkLate
int hhh_setLinkLate(void *addr)
hhh_getSymbol
const char * hhh_getSymbol(void *addr)
hhh_getConstructor
void * hhh_getConstructor(void *addr)