1// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2// -*- Mode: C++ -*-
3//
4// Copyright (C) 2021-2022 Oracle, Inc.
5//
6// Author: Jose E. Marchesi
7
8/// @file
9///
10/// This file contains the declarations of the entry points to
11/// de-serialize an instance of @ref abigail::corpus from a file in
12/// elf format, containing CTF information.
13
14#ifndef __ABG_CTF_READER_H__
15#define __ABG_CTF_READER_H__
16
17#include <ostream>
18#include "abg-corpus.h"
19#include "abg-suppression.h"
20#include "abg-elf-based-reader.h"
21
22#include "ctf-api.h"
23
24namespace abigail
25{
26namespace ctf
27{
28
29elf_based_reader_sptr
30create_reader(const std::string& elf_path,
31	      const vector<char**>& debug_info_root_paths,
32	      environment& env);
33
34void
35reset_reader(elf_based_reader&		ctxt,
36	     const std::string&	elf_path,
37	     const vector<char**>&	debug_info_root_path);
38} // end namespace ctf_reader
39} // end namespace abigail
40
41#endif // ! __ABG_CTF_READER_H__
42