libabigail
|
This file contains the definitions of the entry points to de-serialize an instance of abigail::translation_unit from an ABI Instrumentation file in libabigail native XML format. This native XML format is named "ABIXML". More...
#include "config.h"
#include <assert.h>
#include <libxml/xmlreader.h>
#include <libxml/xmlstring.h>
#include <cerrno>
#include <cstdlib>
#include <cstring>
#include <deque>
#include <memory>
#include <sstream>
#include <unordered_map>
#include "abg-suppression-priv.h"
#include "abg-internal.h"
#include "abg-symtab-reader.h"
#include "abg-libxml-utils.h"
#include "abg-reader.h"
#include "abg-corpus.h"
#include "abg-fe-iface.h"
#include "abg-tools-utils.h"
Go to the source code of this file.
Namespaces | |
abigail | |
Toplevel namespace for libabigail. | |
abigail::abixml | |
The namespace for the native XML file format reader. | |
Typedefs | |
typedef shared_ptr< reader > | reader_sptr |
Functions | |
void | add_reader_suppressions (reader &rdr, const suppr::suppressions_type &supprs) |
Add suppressions specifications to the set of suppressions to be used during the construction of the ABI internal representation (the ABI corpus) from ELF and DWARF. More... | |
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 the abixml file is read. More... | |
fe_iface_sptr | create_reader (const string &path, environment &env) |
Create an xml_reader::reader to read a native XML ABI file. More... | |
fe_iface_sptr | create_reader (std::istream *in, environment &env) |
Create an xml_reader::reader to read a native XML ABI from an input stream.. More... | |
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'. More... | |
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'. More... | |
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'. More... | |
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'. More... | |
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' element node, associated to the current context. More... | |
translation_unit_sptr | read_translation_unit (fe_iface &iface) |
Parse a translation unit from an abixml input from a given context. More... | |
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. More... | |
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. More... | |
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. More... | |
This file contains the definitions of the entry points to de-serialize an instance of abigail::translation_unit from an ABI Instrumentation file in libabigail native XML format. This native XML format is named "ABIXML".
Definition in file abg-reader.cc.