12 #ifndef CPROVER_GOTO_PROGRAMS_OSX_FAT_READER_H
13 #define CPROVER_GOTO_PROGRAMS_OSX_FAT_READER_H
33 const std::string &source,
34 const std::string &dest)
const;
50 sectiont(
const std::string &_name, std::size_t _offset, std::size_t _size)
Class that provides messages with a built-in verbosity 'level'.
osx_fat_readert(std::ifstream &, message_handlert &)
bool extract_gb(const std::string &source, const std::string &dest) const
void process_commands(uint32_t ncmds, std::size_t offset, bool need_swap)
std::map< std::string, sectiont > sectionst
osx_mach_o_readert(std::istream &, message_handlert &)
void process_sections_32(uint32_t nsects, bool need_swap)
bool has_section(const std::string &name) const
void process_sections_64(uint32_t nsects, bool need_swap)
bool is_osx_fat_header(char hdr[8])
bool is_osx_mach_object(char hdr[4])
sectiont(const std::string &_name, std::size_t _offset, std::size_t _size)