![]() |
|
PhoenixDL
1.0.0
Library to manipulate symbols in dynamic libraries
|
#include <stdio.h>#include <link.h>#include <stdlib.h>#include <dlfcn.h>#include <elf.h>#include <iostream>#include "phoenix_dl.h"
Include dependency graph for phoenix_dl.cpp:Go to the source code of this file.
Functions | |
| void | phoenix_listLibrarySymbol (std::vector< std::string > &vecFunction, const std::string &libFileName) |
| List the symbols in the given library. | |
| std::string | phoenix_mangleFunction (const std::string &functionPrototype, const std::string &extraInclude, const std::string &compiler) |
| Mangle the given function prototype. | |
| void phoenix_listLibrarySymbol | ( | std::vector< std::string > & | vecFunction, |
| const std::string & | libFileName ) |
List the symbols in the given library.
| [out] | vecFunction | : vector of function names in the given library |
| libFileName | : name of the library to be loaded |
Definition at line 23 of file phoenix_dl.cpp.
| std::string phoenix_mangleFunction | ( | const std::string & | functionPrototype, |
| const std::string & | extraInclude, | ||
| const std::string & | compiler ) |
Mangle the given function prototype.
| functionPrototype | : prototype of the function to be mangled |
| extraInclude | : extra include to be used to get the mangled function |
| compiler | : compiler to be used |
Definition at line 67 of file phoenix_dl.cpp.