libabigail
Typedefs | Functions
abigail::ctf Namespace Reference

Namespace of the reader for the CTF debug information. More...

Typedefs

typedef shared_ptr< reader > reader_sptr
 

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...
 

Detailed Description

Namespace of the reader for the CTF debug information.

Function Documentation

◆ create_reader()

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.

Parameters
elf_paththe patch of some ELF file.
debug_info_root_pathsthe paths to where to find the debug info.
enva libabigail IR environment.

Definition at line 1681 of file abg-ctf-reader.cc.

◆ reset_reader()

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.

Parameters
rdrthe context to re-initialize.
elf_paththe path to the elf file the context is to be used for.
debug_info_root_pathsthe paths pointing to where to find the debug info.

Definition at line 1702 of file abg-ctf-reader.cc.