Go to the documentation of this file.
16#ifndef LIEF_VDEX_PARSER_H
17#define LIEF_VDEX_PARSER_H
34 static std::unique_ptr<File>
parse(
const std::string& file);
35 static std::unique_ptr<File>
parse(
const std::vector<uint8_t>& data,
36 const std::string& name =
"");
43 Parser(
const std::string& file);
44 Parser(
const std::vector<uint8_t>& data,
const std::string& name);
47 void init(
const std::string& name, vdex_version_t version);
49 template<
typename VDEX_T>
52 template<
typename VDEX_T>
55 template<
typename VDEX_T>
56 void parse_checksums();
58 template<
typename VDEX_T>
59 void parse_dex_files();
61 template<
typename VDEX_T>
62 void parse_verifier_deps();
64 template<
typename VDEX_T>
65 void parse_quickening_info();
67 LIEF::VDEX::File* file_ =
nullptr;
68 std::unique_ptr<VectorStream> stream_;
Main class for the VDEX module which represents a VDEX file.
Definition VDEX/File.hpp:42
Class which parse an VDEX file and transform into a VDEX::File object.
Definition VDEX/Parser.hpp:32
Parser & operator=(const Parser ©)=delete
static std::unique_ptr< File > parse(const std::vector< uint8_t > &data, const std::string &name="")
static std::unique_ptr< File > parse(const std::string &file)
Parser(const Parser ©)=delete
Definition VectorStream.hpp:29
Definition OAT/Binary.hpp:31
LIEF namespace.
Definition Abstract/Binary.hpp:36
#define LIEF_API
Definition visibility.h:41