14#ifndef __ABG_DWARF_READER_H__
15#define __ABG_DWARF_READER_H__
18#include <elfutils/libdwfl.h>
20#include "abg-suppression.h"
34 const vector<char**>& debug_info_root_paths,
36 bool read_all_types =
false,
37 bool linux_kernel_mode =
false);
41 const std::string& elf_path,
42 const vector<char**>& debug_info_root_paths,
43 bool read_all_types =
false,
44 bool linux_kernel_mode =
false);
48 const vector<char**>& debug_info_root_paths,
55 const string& elf_path,
56 const string& symbol_name,
58 vector<elf_symbol_sptr>& symbols);
63 const string& symname,
64 vector<elf_symbol_sptr>& func_syms);
This file contains the declarations for an elf-based. DWARF and CTF readers can inherit this one.
The common interface of readers based on ELF.
status
The status of the fe_iface::read_corpus call.
This is an abstraction of the set of resources necessary to manage several aspects of the internal re...
bool lookup_symbol_from_elf(const environment &env, const string &elf_path, const string &symbol_name, bool demangle, vector< elf_symbol_sptr > &syms)
Look into the symbol tables of a given elf file and see if we find a given symbol.
void reset_reader(elf_based_reader &rdr, const std::string &elf_path, const vector< char ** > &debug_info_root_path, bool read_all_types, bool linux_kernel_mode)
Re-initialize a reader so that it can re-used to read another binary.
bool lookup_public_function_symbol_from_elf(environment &env, const string &path, const string &symname, vector< elf_symbol_sptr > &syms)
Look into the symbol tables of an elf file to see if a public function of a given name is found.
elf_based_reader_sptr create_reader(const std::string &elf_path, const vector< char ** > &debug_info_root_paths, environment &environment, bool load_all_types, bool linux_kernel_mode)
Create a dwarf::reader.
corpus_sptr read_corpus_from_elf(const std::string &elf_path, const vector< char ** > &debug_info_root_paths, environment &environment, bool load_all_types, fe_iface::status &status)
Read all abigail::translation_unit possible from the debug info accessible from an elf file,...
The namespace of the internal representation of ABI artifacts like types and decls.
Toplevel namespace for libabigail.