libabigail
Loading...
Searching...
No Matches
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.
 
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.
 

Detailed Description

Namespace of the reader for the CTF debug information.

Typedef Documentation

◆ reader_sptr

typedef shared_ptr<reader> reader_sptr

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

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 1755 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 1782 of file abg-ctf-reader.cc.