LIEF: Library to Instrument Executable Formats Version 1.0.0
Loading...
Searching...
No Matches
DebugDeclOpt.hpp
Go to the documentation of this file.
1/* Copyright 2022 - 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_DEBUG_DECL_OPT_H
16#define LIEF_DEBUG_DECL_OPT_H
17#include <cstdint>
18
19namespace LIEF {
20
25struct DeclOpt {
27 uint32_t indentation = 2;
28
32 bool is_cpp = false;
33
40
45 bool include_types = false;
46
51 bool desugar = true;
52};
53
54}
55#endif
LIEF namespace.
Definition Abstract/Binary.hpp:40
Configuration options for generated code from debug info.
Definition DebugDeclOpt.hpp:25
uint32_t indentation
The number of spaces for indentation.
Definition DebugDeclOpt.hpp:27
bool is_cpp
Prefer C++ syntax over C syntax.
Definition DebugDeclOpt.hpp:32
bool show_extended_annotations
Enable extended comments and annotations.
Definition DebugDeclOpt.hpp:39
bool desugar
Resolve type aliases (sugar).
Definition DebugDeclOpt.hpp:51
bool include_types
Include full type definitions.
Definition DebugDeclOpt.hpp:45