GTIRB  v2.2.0
GrammaTech Intermediate Representation for Binaries: C++ API
DecodeMode.hpp
Go to the documentation of this file.
1 //===- DecodeMode.hpp --------------------------------------------*- C++-*-===//
2 //
3 // Copyright (C) 2024 GrammaTech, Inc.
4 //
5 // This code is licensed under the MIT license. See the LICENSE file in the
6 // project root for license terms.
7 //
8 // This project is sponsored by the Office of Naval Research, One Liberty
9 // Center, 875 N. Randolph Street, Arlington, VA 22203 under contract #
10 // N68335-17-C-0700. The content of the information does not necessarily
11 // reflect the position or policy of the Government and no official
12 // endorsement should be inferred.
13 //
14 //===----------------------------------------------------------------------===//
15 #ifndef GTIRB_DECODE_MODE_H
16 #define GTIRB_DECODE_MODE_H
17 
18 #include <gtirb/proto/CodeBlock.pb.h>
19 #include <cstdint>
20 
21 namespace gtirb {
22 
26 enum class DecodeMode : uint8_t {
27  Default = proto::All_Default,
28  Thumb = proto::ARM_Thumb,
29 };
30 
31 } // namespace gtirb
32 
33 #endif // GTIRB_DECODE_MODE_H
gtirb
Main namespace for the GTIRB API.
Definition: Addr.hpp:28
gtirb::DecodeMode::Thumb
@ Thumb
Thumb decode mode for ARM32.
gtirb::DecodeMode
DecodeMode
Variations on decoding a particular ISA.
Definition: DecodeMode.hpp:26
gtirb::DecodeMode::Default
@ Default
Default decode mode for all ISAs.