14#ifndef __ABG_READER_H__
15#define __ABG_READER_H__
19#include "abg-suppression.h"
45 abigail::fe_iface_sptr
74#ifdef WITH_SHOW_TYPE_USE_IN_ABILINT
75vector<type_base_sptr>*
76get_types_from_type_id(
fe_iface&,
const string&);
78unordered_map<type_or_decl_base*, vector<type_or_decl_base*>>*
79get_artifact_used_by_relation_map(
fe_iface&);
83#ifdef WITH_DEBUG_SELF_COMPARISON
85load_canonical_type_ids(
fe_iface& ctxt,
86 const string& file_path);
This file contains the declarations for the fe_iface a.k.a "Front End Interface".
The base class of all libabigail front-ends: The Front End Interface.
This is an abstraction of the set of resources necessary to manage several aspects of the internal re...
translation_unit_sptr read_translation_unit_from_buffer(const string &buffer, environment &env)
Parse an ABI instrumentation file (in XML format) from an in-memory buffer.
translation_unit_sptr read_translation_unit(fe_iface &iface)
Parse a translation unit from an abixml input from a given context.
translation_unit_sptr read_translation_unit_from_istream(istream *in, environment &env)
De-serialize a translation unit from an ABI Instrumentation xml file coming from an input stream.
corpus_sptr read_corpus_from_abixml(std::istream *in, environment &env)
De-serialize an ABI corpus from an input XML document which root node is 'abi-corpus'.
corpus_group_sptr read_corpus_group_from_input(fe_iface &iface)
Parse the input XML document containing an ABI corpus group, represented by an 'abi-corpus-group' ele...
corpus_sptr read_corpus_from_abixml_file(const string &path, environment &env)
De-serialize an ABI corpus from an XML document file which root node is 'abi-corpus'.
translation_unit_sptr read_translation_unit_from_file(const string &input_file, environment &env)
Parse an ABI instrumentation file (in XML format) at a given path.
corpus_group_sptr read_corpus_group_from_abixml(std::istream *in, environment &env)
De-serialize an ABI corpus group from an input XML document which root node is 'abi-corpus-group'.
fe_iface_sptr create_reader(const string &path, environment &env)
Create an xml_reader::reader to read a native XML ABI file.
void consider_types_not_reachable_from_public_interfaces(fe_iface &iface, bool flag)
Configure the reader so that types not reachable from public interface are taken into account when th...
corpus_group_sptr read_corpus_group_from_abixml_file(const string &path, environment &env)
De-serialize an ABI corpus group from an XML document file which root node is 'abi-corpus-group'.
The namespace of the internal representation of ABI artifacts like types and decls.
shared_ptr< translation_unit > translation_unit_sptr
Convenience typedef for a shared pointer on a translation_unit type.
Toplevel namespace for libabigail.