LIEF: Library to Instrument Executable Formats
Version 2.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
*
3
* Licensed under the Apache License, Version 2.0 (the "License");
4
* you may not use this file except in compliance with the License.
5
* You may obtain a copy of the License at
6
*
7
* http://www.apache.org/licenses/LICENSE-2.0
8
*
9
* Unless required by applicable law or agreed to in writing, software
10
* distributed under the License is distributed on an "AS IS" BASIS,
11
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
* See the License for the specific language governing permissions and
13
* limitations under the License.
14
*/
15
#ifndef LIEF_ART_FILE_H
16
#define LIEF_ART_FILE_H
17
#include <ostream>
18
19
#include "
LIEF/ART/Header.hpp
"
20
21
#include "
LIEF/Object.hpp
"
22
#include "
LIEF/visibility.h
"
23
24
25
namespace
LIEF::ART
{
26
class
Parser
;
27
28
class
LIEF_API
File
:
public
Object
{
29
friend
class
Parser
;
30
31
public
:
32
File
&
operator=
(
const
File
& copy) =
delete
;
33
File
(
const
File
& copy) =
delete
;
34
35
const
Header
&
header
() const
LIEF_LIFETIMEBOUND
;
36
Header
&
header
()
LIEF_LIFETIMEBOUND
;
37
38
void
accept
(
Visitor
& visitor) const override;
39
40
41
~
File
() override;
42
43
LIEF_API
friend std::ostream& operator<<(std::ostream& os, const
File
& art_file);
44
45
private:
46
File
();
47
48
Header
header_;
49
};
50
51
}
52
53
54
#endif
Header.hpp
Object.hpp
LIEF::ART::File::header
const Header & header() const
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:29
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 transforms it into an ART::File object.
Definition
ART/Parser.hpp:32
LIEF::Object::Object
Object()
LIEF::Visitor
Definition
Visitor.hpp:211
LIEF_LIFETIMEBOUND
#define LIEF_LIFETIMEBOUND
Definition
compiler_attributes.hpp:72
LIEF::ART
Definition
ART/enums.hpp:20
visibility.h
LIEF_API
#define LIEF_API
Definition
visibility.h:44
Generated by
1.19.0