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

Class to parse an OAT file to produce an OAT::Binary. More...

#include <Parser.hpp>

Inheritance diagram for LIEF::OAT::Parser:
Collaboration diagram for LIEF::OAT::Parser:

Public Member Functions

Parseroperator= (const Parser &copy)=delete
 
 Parser (const Parser &copy)=delete
 
- Public Member Functions inherited from LIEF::ELF::Parser
Parseroperator= (const Parser &)=delete
 
 Parser (const Parser &)=delete
 

Static Public Member Functions

static std::unique_ptr< Binaryparse (const std::string &oat_file)
 Parse an OAT file.
 
static std::unique_ptr< Binaryparse (const std::string &oat_file, const std::string &vdex_file)
 
static std::unique_ptr< Binaryparse (std::vector< uint8_t > data)
 
- Static Public Member Functions inherited from LIEF::ELF::Parser
static std::unique_ptr< Binaryparse (const std::string &file, const ParserConfig &conf=ParserConfig::all())
 Parse an ELF file and return a LIEF::ELF::Binary object.
 
static std::unique_ptr< Binaryparse (const std::vector< uint8_t > &data, const ParserConfig &conf=ParserConfig::all())
 Parse the given raw data as an ELF binary and return a LIEF::ELF::Binary object.
 
static std::unique_ptr< Binaryparse (std::unique_ptr< BinaryStream > stream, const ParserConfig &conf=ParserConfig::all())
 Parse the ELF binary from the given stream and return a LIEF::ELF::Binary object.
 
- Static Public Member Functions inherited from LIEF::Parser
static std::unique_ptr< Binaryparse (const std::string &filename)
 Construct an LIEF::Binary from the given filename.
 
static std::unique_ptr< Binaryparse (const std::vector< uint8_t > &raw)
 Construct an LIEF::Binary from the given raw data.
 
static std::unique_ptr< Binaryparse (std::unique_ptr< BinaryStream > stream)
 Construct an LIEF::Binary from the given stream.
 

Additional Inherited Members

- Public Types inherited from LIEF::ELF::Parser
enum  ELF_TYPE { ELF_UNKNOWN , ELF32 , ELF64 }
 
- Static Public Attributes inherited from LIEF::ELF::Parser
static constexpr uint32_t NB_MAX_SYMBOLS = 1000000
 
static constexpr uint32_t DELTA_NB_SYMBOLS = 3000
 
static constexpr uint32_t NB_MAX_BUCKETS = NB_MAX_SYMBOLS
 
static constexpr uint32_t NB_MAX_CHAINS = 1000000
 
static constexpr uint32_t NB_MAX_SEGMENTS = 10000
 
static constexpr uint32_t NB_MAX_RELOCATIONS = 3000000
 
static constexpr uint32_t NB_MAX_DYNAMIC_ENTRIES = 1000
 
static constexpr uint32_t NB_MAX_MASKWORD = 512
 
static constexpr uint32_t MAX_SEGMENT_SIZE = 3_GB
 

Detailed Description

Class to parse an OAT file to produce an OAT::Binary.

Constructor & Destructor Documentation

◆ Parser()

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

Member Function Documentation

◆ operator=()

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

◆ parse() [1/3]

static std::unique_ptr< Binary > LIEF::OAT::Parser::parse ( const std::string & oat_file)
static

Parse an OAT file.

◆ parse() [2/3]

static std::unique_ptr< Binary > LIEF::OAT::Parser::parse ( const std::string & oat_file,
const std::string & vdex_file )
static

◆ parse() [3/3]

static std::unique_ptr< Binary > LIEF::OAT::Parser::parse ( std::vector< uint8_t > data)
static

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