ATLAS Offline Software
Loading...
Searching...
No Matches
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
11extern "C" {
12#endif
13
14/* address -> human-readable, demangled symbol */
15const char* hhh_getSymbol( void *addr );
16const char* hhh_getSymbolE( void *addr );
17const char* hhh_addrToLine( void *addr, const char** symbol );
18int hhh_writeSymbols( FILE *out );
19
20/* allocator address -> ctor address, if object and not inlined */
21void* hhh_getConstructor( void *addr );
22
23/* internal, put referenced library at the end of the dl.so shlib list */
24int 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 */
void hhh_utils_cleanup()
const char * hhh_addrToLine(void *addr, const char **symbol)
void * hhh_getConstructor(void *addr)
const char * hhh_getSymbolE(void *addr)
int hhh_writeSymbols(FILE *out)
int hhh_setLinkLate(void *addr)
const char * hhh_getSymbol(void *addr)