#include <cstdint>
#include "LIEF/visibility.h"
#include <string>
#include <vector>
Go to the source code of this file.
|
bool | LIEF::MachO::is_macho (BinaryStream &stream) |
| Check if the given stream wraps a Mach-O binary.
|
|
bool | LIEF::MachO::is_macho (const std::string &file) |
| Check if the given file is a Mach-O binary.
|
|
bool | LIEF::MachO::is_macho (const std::vector< uint8_t > &raw) |
| Check if the given raw data is a Mach-O binary.
|
|
bool | LIEF::MachO::is_fat (const std::string &file) |
| Check if the given file is a FAT Mach-O.
|
|
bool | LIEF::MachO::is_64 (const std::string &file) |
| Check if the given Mach-O is 64-bits.
|
|
bool | LIEF::MachO::check_layout (const Binary &binary, std::string *error=nullptr) |
| Check the layout of the given Mach-O binary. It checks if it can be signed according to cctools-921/libstuff/checkout.c.
|
|
bool | LIEF::MachO::check_layout (const FatBinary &binary, std::string *error=nullptr) |
| Check the layout of the given FAT Mach-O by checking individually the layout of the binaries embedded in the FAT.
|
|