libabigail
|
The namespace for the CTF reader. More...
Typedefs | |
typedef shared_ptr< reader > | reader_sptr |
Convenience typedef for shared_ptr of abigail::ctf::reader. More... | |
Functions | |
elf_based_reader_sptr | create_reader (const std::string &elf_path, const vector< char ** > &debug_info_root_paths, environment &env) |
Create and return a new read context to process CTF information from a given ELF file. More... | |
void | reset_reader (elf_based_reader &rdr, const std::string &elf_path, const vector< char ** > &debug_info_root_path) |
Re-initialize a reader so that it can re-used to read another binary. More... | |
The namespace for the CTF reader.
typedef shared_ptr<reader> reader_sptr |
Convenience typedef for shared_ptr of abigail::ctf::reader.
Definition at line 710 of file abg-ctf-reader.cc.
elf_based_reader_sptr create_reader | ( | const std::string & | elf_path, |
const vector< char ** > & | debug_info_root_paths, | ||
environment & | env | ||
) |
Create and return a new read context to process CTF information from a given ELF file.
elf_path | the patch of some ELF file. |
env | a libabigail IR environment. |
Definition at line 1621 of file abg-ctf-reader.cc.
void reset_reader | ( | elf_based_reader & | rdr, |
const std::string & | elf_path, | ||
const vector< char ** > & | debug_info_root_path | ||
) |
Re-initialize a reader so that it can re-used to read another binary.
rdr | the context to re-initialize. |
elf_path | the path to the elf file the context is to be used for. |
environment | the environment used by the current context. This environment contains resources needed by the reader and by the types and declarations that are to be created later. Note that ABI artifacts that are to be compared all need to be created within the same environment. |
Please also note that the life time of this environment object must be greater than the life time of the resulting reader the context uses resources that are allocated in the environment.
Definition at line 1650 of file abg-ctf-reader.cc.