LIEF: Library to Instrument Executable Formats Version 0.17.0
Loading...
Searching...
No Matches
LIEF::MachO::BinaryParser Class Reference

Class used to parse a single binary (i.e. non-FAT) More...

#include <BinaryParser.hpp>

Inheritance diagram for LIEF::MachO::BinaryParser:
Collaboration diagram for LIEF::MachO::BinaryParser:

Public Member Functions

BinaryParseroperator= (const BinaryParser &copy)=delete
 
 BinaryParser (const BinaryParser &copy)=delete
 
 ~BinaryParser () override
 

Static Public Member Functions

static std::unique_ptr< Binaryparse (const std::string &file)
 
static std::unique_ptr< Binaryparse (const std::string &file, const ParserConfig &conf)
 
static std::unique_ptr< Binaryparse (const std::vector< uint8_t > &data, const ParserConfig &conf=ParserConfig::deep())
 
static std::unique_ptr< Binaryparse (const std::vector< uint8_t > &data, uint64_t fat_offset, const ParserConfig &conf=ParserConfig::deep())
 
static std::unique_ptr< Binaryparse (std::unique_ptr< BinaryStream > stream, uint64_t fat_offset, const ParserConfig &conf)
 
- 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.
 

Detailed Description

Class used to parse a single binary (i.e. non-FAT)

Warning
This class should not be directly used.
See also
MachO::Parser

Constructor & Destructor Documentation

◆ BinaryParser()

LIEF::MachO::BinaryParser::BinaryParser ( const BinaryParser & copy)
delete

◆ ~BinaryParser()

LIEF::MachO::BinaryParser::~BinaryParser ( )
override

Member Function Documentation

◆ operator=()

BinaryParser & LIEF::MachO::BinaryParser::operator= ( const BinaryParser & copy)
delete

◆ parse() [1/5]

static std::unique_ptr< Binary > LIEF::MachO::BinaryParser::parse ( const std::string & file)
static

◆ parse() [2/5]

static std::unique_ptr< Binary > LIEF::MachO::BinaryParser::parse ( const std::string & file,
const ParserConfig & conf )
static

◆ parse() [3/5]

static std::unique_ptr< Binary > LIEF::MachO::BinaryParser::parse ( const std::vector< uint8_t > & data,
const ParserConfig & conf = ParserConfig::deep() )
static

◆ parse() [4/5]

static std::unique_ptr< Binary > LIEF::MachO::BinaryParser::parse ( const std::vector< uint8_t > & data,
uint64_t fat_offset,
const ParserConfig & conf = ParserConfig::deep() )
static

◆ parse() [5/5]

static std::unique_ptr< Binary > LIEF::MachO::BinaryParser::parse ( std::unique_ptr< BinaryStream > stream,
uint64_t fat_offset,
const ParserConfig & conf )
static

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