LIEF: Library to Instrument Executable Formats
Version 1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
lief-install
x86_64
static
include
LIEF
ART
ART/File.hpp
Go to the documentation of this file.
1
/* Copyright 2017 - 2026 R. Thomas
2
* Copyright 2017 - 2026 Quarkslab
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*/
16
#ifndef LIEF_ART_FILE_H
17
#define LIEF_ART_FILE_H
18
#include <ostream>
19
20
#include "
LIEF/ART/Header.hpp
"
21
22
#include "
LIEF/visibility.h
"
23
#include "
LIEF/Object.hpp
"
24
25
namespace
LIEF
{
26
namespace
ART
{
27
class
Parser
;
28
29
class
LIEF_API
File
:
public
Object
{
30
friend
class
Parser
;
31
32
public
:
33
File
&
operator=
(
const
File
& copy) =
delete
;
34
File
(
const
File
& copy) =
delete
;
35
36
const
Header
&
header
()
const
;
37
Header
&
header
();
38
39
void
accept
(
Visitor
& visitor)
const override
;
40
41
42
~File
()
override
;
43
44
LIEF_API
friend
std::ostream&
operator<<
(std::ostream& os,
const
File
& art_file);
45
46
private
:
47
File
();
48
49
Header
header_;
50
};
51
52
}
53
}
54
55
#endif
Header.hpp
Object.hpp
LIEF::ART::File::operator<<
friend std::ostream & operator<<(std::ostream &os, const File &art_file)
LIEF::ART::File::header
const Header & header() const
LIEF::ART::File::header
Header & header()
LIEF::ART::File::operator=
File & operator=(const File ©)=delete
LIEF::ART::File::File
File(const File ©)=delete
LIEF::ART::File::Parser
friend class Parser
Definition
ART/File.hpp:30
LIEF::ART::File::~File
~File() override
LIEF::ART::File::accept
void accept(Visitor &visitor) const override
LIEF::ART::Header
Definition
ART/Header.hpp:32
LIEF::ART::Parser
Class which parses an ART file and transform into a ART::File object.
Definition
ART/Parser.hpp:32
LIEF::Object::Object
Object()
LIEF::Visitor
Definition
Visitor.hpp:210
LIEF::ART
Namespace related to the LIEF's ART module.
Definition
ART/enums.hpp:20
LIEF
LIEF namespace.
Definition
Abstract/Binary.hpp:40
visibility.h
LIEF_API
#define LIEF_API
Definition
visibility.h:41
Generated by
1.17.0