16#ifndef LIEF_OAT_DEXFILE_H
17#define LIEF_OAT_DEXFILE_H
68 void accept(Visitor& visitor)
const override;
76 std::string location_;
77 uint32_t checksum_ = 0;
78 uint32_t dex_offset_ = 0;
80 DEX::File* dex_file_ =
nullptr;
83 std::vector<uint32_t> classes_offsets_;
86 uint32_t lookup_table_offset_ = 0;
89 uint32_t method_bss_mapping_offset_ = 0;
90 uint32_t dex_sections_layout_offset_ = 0;
Class that represents a DEX file.
Definition DEX/File.hpp:39
Definition DexFile.hpp:36
friend std::ostream & operator<<(std::ostream &os, const DexFile &dex_file)
DexFile & operator=(const DexFile &)
const std::vector< uint32_t > & classes_offsets() const
void dex_offset(uint32_t dex_offset)
void checksum(uint32_t checksum)
uint32_t checksum() const
void location(const std::string &location)
uint32_t lookup_table_offset() const
void accept(Visitor &visitor) const override
const std::string & location() const
void lookup_table_offset(uint32_t offset)
bool has_dex_file() const
const DEX::File * dex_file() const
void class_offsets_offset(uint32_t offset)
uint32_t dex_offset() const
Class to parse an OAT file to produce an OAT::Binary.
Definition OAT/Parser.hpp:38
Definition Visitor.hpp:225
Definition DEX/Class.hpp:30
Definition ELF/Parser.hpp:32
LIEF namespace.
Definition Abstract/Binary.hpp:36
#define LIEF_API
Definition visibility.h:41