#include <macho_detector.h>
MachODetector - find info about MachO binary file
◆ MachODetector()
Constructor
- Parameters
-
pathToInputFile | Path to input file |
finfo | Instance of class for storing information about file |
searchPar | Parameters for detection of used compiler (or packer) |
loadFlags | Load flags |
◆ createCompilerDetector()
Pointer to detector is dynamically allocated and must be released (otherwise there is a memory leak) More detailed description of this method is in the super class
Implements retdec::fileinfo::FileDetector.
◆ detectArchitecture()
void retdec::fileinfo::MachODetector::detectArchitecture |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ detectFileClass()
void retdec::fileinfo::MachODetector::detectFileClass |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ detectFileType()
void retdec::fileinfo::MachODetector::detectFileType |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ getAdditionalInfo()
void retdec::fileinfo::MachODetector::getAdditionalInfo |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ getEncryption()
void retdec::fileinfo::MachODetector::getEncryption |
( |
| ) |
|
|
protected |
Get information about encrypted files
◆ getEntryPoint()
void retdec::fileinfo::MachODetector::getEntryPoint |
( |
| ) |
|
|
protected |
◆ getOsInfo()
void retdec::fileinfo::MachODetector::getOsInfo |
( |
| ) |
|
|
protected |
Get information about operating system
◆ getRelocations()
void retdec::fileinfo::MachODetector::getRelocations |
( |
| ) |
|
|
protected |
Get relocation tables and relocations
◆ getSections()
void retdec::fileinfo::MachODetector::getSections |
( |
| ) |
|
|
protected |
Get information about sections
- Todo:
- add section type, flags, reserved1/reserved2
◆ getSegments()
void retdec::fileinfo::MachODetector::getSegments |
( |
| ) |
|
|
protected |
Get segments info
- Todo:
- add segment name, type and flags, memory protection
◆ getSymbols()
void retdec::fileinfo::MachODetector::getSymbols |
( |
| ) |
|
|
protected |
Get information about symbols
- Todo:
- table offset, number of symbols
- Todo:
- value, type, bind, flags
◆ isMachoUniversalArchive()
bool retdec::fileinfo::MachODetector::isMachoUniversalArchive |
( |
| ) |
|
Check if file is Mach-O Universal Binary archive
- Returns
true
if file is Mach-O fat archive, false
otherwise
◆ machoParser
std::shared_ptr<MachOWrapper> retdec::fileinfo::MachODetector::machoParser |
|
private |
The documentation for this class was generated from the following files:
- /var/cache/acbs/build/acbs.6bu6osb6/retdec/src/fileinfo/file_detector/macho_detector.h
- /var/cache/acbs/build/acbs.6bu6osb6/retdec/src/fileinfo/file_detector/macho_detector.cpp