14#ifndef __ABG_READER_H__
15#define __ABG_READER_H__
19#include "abg-suppression.h"
117typedef shared_ptr<reader> reader_sptr;
122#ifdef WITH_SHOW_TYPE_USE_IN_ABILINT
123vector<type_base_sptr>*
124get_types_from_type_id(
fe_iface&,
const string&);
126unordered_map<type_or_decl_base*, vector<type_or_decl_base*>>*
127get_artifact_used_by_relation_map(
fe_iface&);
131#ifdef WITH_DEBUG_SELF_COMPARISON
133load_canonical_type_ids(
fe_iface& ctxt,
134 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...
corpus_sptr read_corpus_from_abixml_file(const string &path, environment &env, const fe_iface::options_type &opts)
De-serialize an ABI corpus from an XML document file which root node is 'abi-corpus'.
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, const fe_iface::options_type &opts)
De-serialize a translation unit from an ABI Instrumentation xml file coming from an input stream.
translation_unit_sptr read_translation_unit_from_file(const string &input_file, environment &env, const fe_iface::options_type &opts)
Parse an ABI instrumentation file (in XML format) at a given path.
translation_unit_sptr read_translation_unit_from_buffer(const string &buffer, environment &env, const fe_iface::options_type &opts)
Parse an ABI instrumentation file (in XML format) from an in-memory buffer.
corpus_group_sptr read_corpus_group_from_abixml(std::istream *in, environment &env, const fe_iface::options_type &opts)
De-serialize an ABI corpus group from an input XML document which root node is 'abi-corpus-group'.
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...
reader_sptr is_reader(fe_iface_sptr iface)
Convert a abigail:fe_iface into an abigail::abixml::reader.
corpus_sptr read_corpus_from_abixml(std::istream *in, environment &env, const fe_iface::options_type &opts)
De-serialize an ABI corpus from an input XML document which root node is 'abi-corpus'.
fe_iface_sptr create_reader(const string &path, environment &env, const fe_iface::options_type &opts)
Create an abixml::reader to read a native XML ABI file.
corpus_group_sptr read_corpus_group_from_abixml_file(const string &path, environment &env, const fe_iface::options_type &opts)
De-serialize an ABI corpus group from an XML document file which root node is 'abi-corpus-group'.
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...
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.
The generic options that control the behaviour of all Front-End interfaces.