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

Class used to rebuild a Mach-O file. More...

#include <Builder.hpp>

Classes

struct  config_t
 Options to tweak the building process. More...
 

Public Member Functions

 Builder ()=delete
 
 ~Builder ()
 

Static Public Member Functions

static ok_error_t write (Binary &binary, const std::string &filename)
 
static ok_error_t write (Binary &binary, const std::string &filename, config_t config)
 
static ok_error_t write (Binary &binary, std::vector< uint8_t > &out)
 
static ok_error_t write (Binary &binary, std::vector< uint8_t > &out, config_t config)
 
static ok_error_t write (Binary &binary, std::ostream &out)
 
static ok_error_t write (Binary &binary, std::ostream &out, config_t config)
 
static ok_error_t write (FatBinary &fat, const std::string &filename)
 
static ok_error_t write (FatBinary &fat, const std::string &filename, config_t config)
 
static ok_error_t write (FatBinary &fat, std::vector< uint8_t > &out)
 
static ok_error_t write (FatBinary &fat, std::vector< uint8_t > &out, config_t config)
 
static ok_error_t write (FatBinary &fat, std::ostream &out)
 
static ok_error_t write (FatBinary &fat, std::ostream &out, config_t config)
 

Detailed Description

Class used to rebuild a Mach-O file.

Constructor & Destructor Documentation

◆ Builder()

LIEF::MachO::Builder::Builder ( )
delete

◆ ~Builder()

LIEF::MachO::Builder::~Builder ( )

Member Function Documentation

◆ write() [1/12]

static ok_error_t LIEF::MachO::Builder::write ( Binary & binary,
const std::string & filename )
static

◆ write() [2/12]

static ok_error_t LIEF::MachO::Builder::write ( Binary & binary,
const std::string & filename,
config_t config )
static

◆ write() [3/12]

static ok_error_t LIEF::MachO::Builder::write ( Binary & binary,
std::ostream & out )
static

◆ write() [4/12]

static ok_error_t LIEF::MachO::Builder::write ( Binary & binary,
std::ostream & out,
config_t config )
static

◆ write() [5/12]

static ok_error_t LIEF::MachO::Builder::write ( Binary & binary,
std::vector< uint8_t > & out )
static

◆ write() [6/12]

static ok_error_t LIEF::MachO::Builder::write ( Binary & binary,
std::vector< uint8_t > & out,
config_t config )
static

◆ write() [7/12]

static ok_error_t LIEF::MachO::Builder::write ( FatBinary & fat,
const std::string & filename )
static

◆ write() [8/12]

static ok_error_t LIEF::MachO::Builder::write ( FatBinary & fat,
const std::string & filename,
config_t config )
static

◆ write() [9/12]

static ok_error_t LIEF::MachO::Builder::write ( FatBinary & fat,
std::ostream & out )
static

◆ write() [10/12]

static ok_error_t LIEF::MachO::Builder::write ( FatBinary & fat,
std::ostream & out,
config_t config )
static

◆ write() [11/12]

static ok_error_t LIEF::MachO::Builder::write ( FatBinary & fat,
std::vector< uint8_t > & out )
static

◆ write() [12/12]

static ok_error_t LIEF::MachO::Builder::write ( FatBinary & fat,
std::vector< uint8_t > & out,
config_t config )
static

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