7 #ifndef RETDEC_MACHO_EXTRACTOR_BREAK_FAT_H
8 #define RETDEC_MACHO_EXTRACTOR_BREAK_FAT_H
10 #include <llvm/Object/MachO.h>
11 #include <llvm/Object/MachOUniversal.h>
12 #include <llvm/Support/ErrorOr.h>
15 namespace macho_extractor {
24 std::unique_ptr<llvm::object::MachOUniversalBinary>
file;
25 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>>
buffer;
32 std::uint32_t cpuType,
33 llvm::object::MachOUniversalBinary::object_iterator &res);
35 llvm::object::MachOUniversalBinary::object_iterator &
object,
36 const std::string &outPath);
38 std::uintptr_t archOffset ,
40 std::vector<std::string> &result);
52 bool withObjects =
false);
55 bool withObjects =
false);
62 const std::string &outPath);
65 const std::string &outPath);
67 const std::string &familyName,
68 const std::string &outPath);
70 const std::string &machoArchName,
71 const std::string &outPath);
Definition: archive_wrapper.h:19