LIEF: Library to Instrument Executable Formats Version 2.0.0
Loading...
Searching...
No Matches
LIEF::DEX::Parser Class Reference

Class which parses a DEX file to produce a DEX::File object. More...

#include <Parser.hpp>

Public Member Functions

Parseroperator= (const Parser &copy)=delete
 Parser (const Parser &copy)=delete

Static Public Member Functions

static std::unique_ptr< Fileparse (std::string_view file)
 Parse the DEX file from the file path given in parameter.
template<class PathT, enable_if_path_t< PathT > = 0>
static std::unique_ptr< Fileparse (const PathT &file)
 Same as parse(std::string_view) but the file is given as a std::filesystem::path.
static std::unique_ptr< Fileparse (std::vector< uint8_t > data, std::string_view name="")

Detailed Description

Class which parses a DEX file to produce a DEX::File object.

Constructor & Destructor Documentation

◆ Parser()

LIEF::DEX::Parser::Parser ( const Parser & copy)
delete

References Parser(), and LIEF::DEX::version().

Referenced by operator=(), and Parser().

Member Function Documentation

◆ operator=()

Parser & LIEF::DEX::Parser::operator= ( const Parser & copy)
delete

References Parser().

◆ parse() [1/3]

template<class PathT, enable_if_path_t< PathT > = 0>
std::unique_ptr< File > LIEF::DEX::Parser::parse ( const PathT & file)
inlinestatic

Same as parse(std::string_view) but the file is given as a std::filesystem::path.

References parse().

◆ parse() [2/3]

std::unique_ptr< File > LIEF::DEX::Parser::parse ( std::string_view file)
static

Parse the DEX file from the file path given in parameter.

Referenced by parse().

◆ parse() [3/3]

std::unique_ptr< File > LIEF::DEX::Parser::parse ( std::vector< uint8_t > data,
std::string_view name = "" )
static

The documentation for this class was generated from the following file: