libabigail
|
The namespace for the ELF Reader. More...
Classes | |
class | reader |
This is the interface an ELF reader. More... | |
Typedefs | |
typedef shared_ptr< elf::reader > | reader_sptr |
A convenience typedef for a smart pointer to a elf::reader. | |
Enumerations | |
enum | elf_type : unsigned { ELF_TYPE_EXEC , ELF_TYPE_PI_EXEC , ELF_TYPE_DSO , ELF_TYPE_RELOCATABLE , ELF_TYPE_UNKNOWN } |
The kind of ELF file we are looking at. More... | |
Functions | |
bool | get_soname_of_elf_file (const string &path, string &soname) |
Get the SONAME property of a designated ELF file. | |
bool | get_type_of_elf_file (const string &path, elf::elf_type &type) |
Get the type of a given elf type. | |
The namespace for the ELF Reader.
typedef shared_ptr<elf::reader> reader_sptr |
A convenience typedef for a smart pointer to a elf::reader.
Definition at line 163 of file abg-elf-reader.h.
enum elf_type : unsigned |
The kind of ELF file we are looking at.
Definition at line 33 of file abg-elf-reader.h.
bool get_soname_of_elf_file | ( | const string & | path, |
string & | soname | ||
) |
Get the SONAME property of a designated ELF file.
path | the path to the ELF file to consider. |
soname | output parameter. This is set to the SONAME of the file located at path , iff this function return true. |
path
and set into the argument of the parameter soname
. Definition at line 1002 of file abg-elf-reader.cc.
bool get_type_of_elf_file | ( | const string & | path, |
elf::elf_type & | type | ||
) |
Get the type of a given elf type.
path | the absolute path to the ELF file to analyzed. |
type | the kind of the ELF file designated by path . |
out | parameter. Is set to the type of ELF file of path . This parameter is set iff the function returns true. |
Definition at line 1044 of file abg-elf-reader.cc.