LIEF: Library to Instrument Executable Formats
Version 0.15.1
Loading...
Searching...
No Matches
install
linux
x86_64
sdk
static
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_EXTENDED */
35
36
// LIEF options
37
#define LIEF_JSON_SUPPORT 1
38
#define LIEF_LOGGING_SUPPORT 1
39
#define LIEF_LOGGING_DEBUG 1
40
#define LIEF_FROZEN_ENABLED 1
41
/* #undef LIEF_EXTERNAL_EXPECTED */
42
/* #undef LIEF_EXTERNAL_UTF8CPP */
43
/* #undef LIEF_EXTERNAL_MBEDTLS */
44
/* #undef LIEF_EXTERNAL_FROZEN */
45
/* #undef LIEF_EXTERNAL_SPAN */
46
47
/* #undef LIEF_NLOHMANN_JSON_EXTERNAL */
48
49
50
#ifdef __cplusplus
51
52
static
constexpr
bool
lief_pe_support = 1;
53
static
constexpr
bool
lief_elf_support = 1;
54
static
constexpr
bool
lief_macho_support = 1;
55
56
static
constexpr
bool
lief_oat_support = 1;
57
static
constexpr
bool
lief_dex_support = 1;
58
static
constexpr
bool
lief_vdex_support = 1;
59
static
constexpr
bool
lief_art_support = 1;
60
61
static
constexpr
bool
lief_debug_info = 0;
62
static
constexpr
bool
lief_objc = 0;
63
static
constexpr
bool
lief_extended = 0;
64
65
static
constexpr
bool
lief_json_support = 1;
66
static
constexpr
bool
lief_logging_support = 1;
67
static
constexpr
bool
lief_logging_debug = 1;
68
static
constexpr
bool
lief_frozen_enabled = 1;
69
70
71
#endif
// __cplusplus
72
73
#endif
Generated by
1.11.0