LIEF: Library to Instrument Executable Formats Version 0.17.0
Loading...
Searching...
No Matches
OAT/enums.hpp
Go to the documentation of this file.
1/* Copyright 2017 - 2024 R. Thomas
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#ifndef LIEF_OAT_ENUMS_H
17#define LIEF_OAT_ENUMS_H
18
19namespace LIEF {
20namespace OAT {
21
27
28// From art/runtime/mirror/class.h
30 STATUS_RETIRED = -2, // Retired, should not be used. Use the newly cloned one instead.
33 STATUS_IDX = 1, // Loaded, DEX idx in super_class_type_idx_ and interfaces_type_idx_.
34 STATUS_LOADED = 2, // DEX idx values resolved.
35 STATUS_RESOLVING = 3, // Just cloned from temporary class object.
36 STATUS_RESOLVED = 4, // Part of linking.
37 STATUS_VERIFYING = 5, // In the process of being verified.
38 STATUS_RETRY_VERIFICATION_AT_RUNTIME = 6, // Compile time verification failed, retry at runtime.
39 STATUS_VERIFYING_AT_RUNTIME = 7, // Retrying verification at runtime.
40 STATUS_VERIFIED = 8, // Logically part of linking; done pre-init.
41 STATUS_INITIALIZING = 9, // Class init in progress.
42 STATUS_INITIALIZED = 10, // Ready to go.
43};
44
59
70
71
72
73static const HEADER_KEYS header_keys_list[] = {
86};
87
88}
89}
90#endif
Definition ELF/Parser.hpp:32
OAT_CLASS_TYPES
Definition OAT/enums.hpp:22
@ OAT_CLASS_NONE_COMPILED
A bitmap of which OatMethodOffsets are present follows the OatClass.
Definition OAT/enums.hpp:25
@ OAT_CLASS_SOME_COMPILED
OatClass is followed by an OatMethodOffsets for each method.
Definition OAT/enums.hpp:24
@ OAT_CLASS_ALL_COMPILED
Definition OAT/enums.hpp:23
HEADER_KEYS
Definition OAT/enums.hpp:45
@ KEY_DEX2OAT_CMD_LINE
Definition OAT/enums.hpp:47
@ KEY_DEBUGGABLE
Definition OAT/enums.hpp:51
@ KEY_HAS_PATCH_INFO
Definition OAT/enums.hpp:50
@ KEY_COMPILER_FILTER
Definition OAT/enums.hpp:53
@ KE_COMPILATION_REASON
Definition OAT/enums.hpp:57
@ KEY_CLASS_PATH
Definition OAT/enums.hpp:54
@ KEY_PIC
Definition OAT/enums.hpp:49
@ KEY_CONCURRENT_COPYING
Definition OAT/enums.hpp:56
@ KEY_NATIVE_DEBUGGABLE
Definition OAT/enums.hpp:52
@ KEY_BOOT_CLASS_PATH
Definition OAT/enums.hpp:55
@ KEY_DEX2OAT_HOST
Definition OAT/enums.hpp:48
@ KEY_IMAGE_LOCATION
Definition OAT/enums.hpp:46
OAT_CLASS_STATUS
Definition OAT/enums.hpp:29
@ STATUS_ERROR
Definition OAT/enums.hpp:31
@ STATUS_IDX
Definition OAT/enums.hpp:33
@ STATUS_VERIFYING
Definition OAT/enums.hpp:37
@ STATUS_VERIFIED
Definition OAT/enums.hpp:40
@ STATUS_RESOLVED
Definition OAT/enums.hpp:36
@ STATUS_RETIRED
Definition OAT/enums.hpp:30
@ STATUS_VERIFYING_AT_RUNTIME
Definition OAT/enums.hpp:39
@ STATUS_RESOLVING
Definition OAT/enums.hpp:35
@ STATUS_INITIALIZED
Definition OAT/enums.hpp:42
@ STATUS_RETRY_VERIFICATION_AT_RUNTIME
Definition OAT/enums.hpp:38
@ STATUS_NOTREADY
Definition OAT/enums.hpp:32
@ STATUS_INITIALIZING
Definition OAT/enums.hpp:41
@ STATUS_LOADED
Definition OAT/enums.hpp:34
INSTRUCTION_SETS
Definition OAT/enums.hpp:60
@ INST_SET_ARM_64
Definition OAT/enums.hpp:63
@ INST_SET_THUMB2
Definition OAT/enums.hpp:64
@ INST_SET_ARM
Definition OAT/enums.hpp:62
@ INST_SET_X86
Definition OAT/enums.hpp:65
@ INST_SET_MIPS_64
Definition OAT/enums.hpp:68
@ INST_SET_MIPS
Definition OAT/enums.hpp:67
@ INST_SET_NONE
Definition OAT/enums.hpp:61
@ INST_SET_X86_64
Definition OAT/enums.hpp:66
LIEF namespace.
Definition Abstract/Binary.hpp:36