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
MachO
MachO/EnumToString.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_MACHO_ENUM_TO_STRING_H
17
#define LIEF_MACHO_ENUM_TO_STRING_H
18
#include "
LIEF/visibility.h
"
19
20
#include "
LIEF/MachO/enums.hpp
"
21
22
namespace
LIEF
{
23
namespace
MachO
{
24
25
LIEF_API
const
char
*
to_string
(
MACHO_TYPES
e);
26
27
LIEF_API
const
char
*
to_string
(
X86_RELOCATION
e);
28
LIEF_API
const
char
*
to_string
(
X86_64_RELOCATION
e);
29
LIEF_API
const
char
*
to_string
(
PPC_RELOCATION
e);
30
LIEF_API
const
char
*
to_string
(
ARM_RELOCATION
e);
31
LIEF_API
const
char
*
to_string
(
ARM64_RELOCATION
e);
32
33
}
// namespace MachO
34
}
// namespace LIEF
35
36
#endif
enums.hpp
LIEF::MachO
Namespace related to the LIEF's Mach-O module.
Definition
Abstract/Header.hpp:36
LIEF::MachO::ARM64_RELOCATION
ARM64_RELOCATION
Definition
MachO/enums.hpp:92
LIEF::MachO::ARM_RELOCATION
ARM_RELOCATION
Definition
MachO/enums.hpp:78
LIEF::MachO::X86_64_RELOCATION
X86_64_RELOCATION
Definition
MachO/enums.hpp:44
LIEF::MachO::X86_RELOCATION
X86_RELOCATION
Definition
MachO/enums.hpp:35
LIEF::MachO::MACHO_TYPES
MACHO_TYPES
Definition
MachO/enums.hpp:23
LIEF::MachO::PPC_RELOCATION
PPC_RELOCATION
Definition
MachO/enums.hpp:58
LIEF::MachO::to_string
const char * to_string(BuildToolVersion::TOOLS tool)
LIEF
LIEF namespace.
Definition
Abstract/Binary.hpp:40
visibility.h
LIEF_API
#define LIEF_API
Definition
visibility.h:41
Generated by
1.17.0