13 #ifndef __ABG_FE_IFACE_H__
14 #define __ABG_FE_IFACE_H__
17 #include "abg-suppression.h"
62 bool load_in_linux_kernel_mode =
false;
63 bool load_all_types =
false;
64 bool drop_undefined_syms =
false;
65 bool show_stats =
false;
67 bool leverage_dwarf_factorization =
true;
68 bool assume_odr_for_cplusplus =
true;
122 const corpus_group_sptr&
146 virtual ir::corpus_sptr
150 typedef shared_ptr<fe_iface> fe_iface_sptr;
168 #endif // __ABG_FE_IFAC_H__
suppr::suppressions_type & suppressions()
Getter of the vector of suppression specifications associated with the current front-end.
The base class of all libabigail front-ends: The Front End Interface.
fe_iface::status & operator|=(fe_iface::status &l, fe_iface::status r)
The bitwise |= operator for the fe_iface::status type.
const options_type & options() const
Getter of the the options of the current Front End Interface.
options_type(environment &)
Constructor of the type fe_iface::options_type.
void maybe_add_fn_to_exported_decls(const function_decl *fn)
Try and add the representation of the ABI of a function to the set of exported declarations of the cu...
The generic options that control the behaviour of all Front-End interfaces.
bool current_corpus_is_main_corpus_from_current_group()
Test if the current corpus being built is the main corpus of the current corpus group.
status
The status of the fe_iface::read_corpus call.
fe_iface::status & operator&=(fe_iface::status &l, fe_iface::status r)
The bitwise &= operator for the fe_iface::status type.
Abstracts a variable declaration.
bool has_corpus_group() const
Test if there is a corpus group being built.
This status is for when the debug info could not be read.
corpus_group_sptr & corpus_group()
Getter for the ABI corpus group being built by the current front-end.
Toplevel namespace for libabigail.
std::string status_to_diagnostic_string(fe_iface::status s)
Return a diagnostic status with english sentences to describe the problems encoded in a given abigail...
Abstraction for a function declaration.
Types of the main internal representation of libabigail.
This is an abstraction of the set of resources necessary to manage several aspects of the internal re...
corpus_sptr main_corpus_from_current_group()
Return the main corpus from the current corpus group, if any.
corpus_sptr corpus()
Getter for the ABI corpus being built by the current front-end.
fe_iface(const std::string &corpus_path, environment &e)
Constructor of the type fe_iface.
vector< suppression_sptr > suppressions_type
Convenience typedef for a vector of suppression_sptr.
This status is for when the symbols of the ELF binaries could not be read.
fe_iface::status operator|(fe_iface::status l, fe_iface::status r)
The bitwise OR operator for the fe_iface::status type.
const std::string & corpus_path() const
Getter of the path to the file which an ABI corpus is to be created for.
fe_iface::status operator&(fe_iface::status l, fe_iface::status r)
The bitwise AND operator for the fe_iface::status type.
const string & dt_soname() const
Getter for the SONAME of the analyzed binary.
bool load_in_linux_kernel_mode() const
Test if the input binary is to be considered as a Linux Kernel binary.
void maybe_add_var_to_exported_decls(const var_decl *var)
Try and add the representation of the ABI of a variable to the set of exported declarations of the cu...
The status is in an unknown state.
corpus_sptr should_reuse_type_from_corpus_group()
Return true if the current corpus is part of a corpus group being built and if it's not the main corp...
virtual ~fe_iface()
Desctructor of the Front End Interface.
virtual void initialize(const std::string &corpus_path)
Re-initialize the current Front End.
void add_suppressions(const suppr::suppressions_type &)
Add suppressions specifications to the set of suppressions to be used during the construction of the ...
This status is for when the alternate debug info could not be found.
This status is for when the call went OK.