Symbian platform (C++)
SDK native APIs, runtime and tooling
Loading...
Searching...
No Matches
arm_attributes.h
Go to the documentation of this file.
1#ifndef SYMBIAN_ANALYSIS_ARM_ATTRIBUTES_H_
2#define SYMBIAN_ANALYSIS_ARM_ATTRIBUTES_H_
3
4#include <cstdint>
5#include <string_view>
6
7#include <absl/status/statusor.h>
8
9namespace symbian::analysis {
10
11// Values use the original AEABI Tag_* encodings, not a hardware model guess.
13 uint32_t cpu_arch = 0;
14 uint32_t fp_arch = 0;
15 uint32_t simd_arch = 0;
16 uint32_t thumb_isa = 0;
17 uint32_t vfp_args = 0;
18};
19
20// Bounded ARM ELF attribute section reader. Native parsing only; callers apply
21// supported SDK/ISA policy. Missing CPU metadata remains zero (unspecified).
22absl::StatusOr<ArmAttributes> InspectArmAttributes(std::string_view bytes);
23
24} // namespace symbian::analysis
25#endif // SYMBIAN_ANALYSIS_ARM_ATTRIBUTES_H_
Definition arm_attributes.cc:12
absl::StatusOr< ArmAttributes > InspectArmAttributes(std::string_view bytes)
Definition arm_attributes.cc:46
std::string_view bytes
Definition exports.cc:74
Definition arm_attributes.h:12
uint32_t thumb_isa
Definition arm_attributes.h:16
uint32_t cpu_arch
Definition arm_attributes.h:13
uint32_t simd_arch
Definition arm_attributes.h:15
uint32_t vfp_args
Definition arm_attributes.h:17
uint32_t fp_arch
Definition arm_attributes.h:14