libabigail
|
This file contains the declarations of the entry points to de-serialize an instance of abigail::corpus from a file in elf format, containing CTF information. More...
#include <ostream>
#include "abg-corpus.h"
#include "abg-suppression.h"
#include "abg-elf-based-reader.h"
#include "ctf-api.h"
Go to the source code of this file.
Namespaces | |
namespace | abigail |
Toplevel namespace for libabigail. | |
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... | |
This file contains the declarations of the entry points to de-serialize an instance of abigail::corpus from a file in elf format, containing CTF information.
Definition in file abg-ctf-reader.h.
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 1675 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 1704 of file abg-ctf-reader.cc.