LIEF: Library to Instrument Executable Formats
Version 0.16.0
Loading...
Searching...
No Matches
LIEF-0.16.0-Linux-x86_64
include
LIEF
config.h
Go to the documentation of this file.
1
/* Copyright 2017 - 2021 A. Guinet
2
* Copyright 2017 - 2024 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
17
#ifndef LIEF_CONFIG_H
18
#define LIEF_CONFIG_H
19
20
// Main formats
21
#define LIEF_PE_SUPPORT 1
22
#define LIEF_ELF_SUPPORT 1
23
#define LIEF_MACHO_SUPPORT 1
24
25
// Android formats
26
#define LIEF_OAT_SUPPORT 1
27
#define LIEF_DEX_SUPPORT 1
28
#define LIEF_VDEX_SUPPORT 1
29
#define LIEF_ART_SUPPORT 1
30
31
// Extended features
32
/* #undef LIEF_DEBUG_INFO */
33
/* #undef LIEF_OBJC */
34
/* #undef LIEF_DYLD_SHARED_CACHE */
35
/* #undef LIEF_ASM_SUPPORT */
36
/* #undef LIEF_EXTENDED */
37
38
// LIEF options
39
#define LIEF_JSON_SUPPORT 1
40
#define LIEF_LOGGING_SUPPORT 1
41
#define LIEF_LOGGING_DEBUG 1
42
#define LIEF_FROZEN_ENABLED 1
43
/* #undef LIEF_EXTERNAL_EXPECTED */
44
/* #undef LIEF_EXTERNAL_UTF8CPP */
45
/* #undef LIEF_EXTERNAL_MBEDTLS */
46
/* #undef LIEF_EXTERNAL_FROZEN */
47
/* #undef LIEF_EXTERNAL_SPAN */
48
49
/* #undef LIEF_NLOHMANN_JSON_EXTERNAL */
50
51
52
#ifdef __cplusplus
53
54
static
constexpr
bool
lief_pe_support = 1;
55
static
constexpr
bool
lief_elf_support = 1;
56
static
constexpr
bool
lief_macho_support = 1;
57
58
static
constexpr
bool
lief_oat_support = 1;
59
static
constexpr
bool
lief_dex_support = 1;
60
static
constexpr
bool
lief_vdex_support = 1;
61
static
constexpr
bool
lief_art_support = 1;
62
63
static
constexpr
bool
lief_debug_info = 0;
64
static
constexpr
bool
lief_objc = 0;
65
static
constexpr
bool
lief_extended = 0;
66
67
static
constexpr
bool
lief_json_support = 1;
68
static
constexpr
bool
lief_logging_support = 1;
69
static
constexpr
bool
lief_logging_debug = 1;
70
static
constexpr
bool
lief_frozen_enabled = 1;
71
72
73
#endif
// __cplusplus
74
75
#endif
Generated by
1.13.0