#include "machostruc.h"
#include "formats.h"
#include "htendian.h"
#include "htformat.h"
Go to the source code of this file.
Classes | |
class | ht_macho |
struct | ht_macho_shared_data |
struct | macho_commands |
struct | macho_sections |
Defines | |
#define | DESC_MACHO "Mach-O - Mach exe/link format" |
#define | DESC_MACHO_HEADER "Mach-O/header" |
#define | DESC_MACHO_IMAGE "Mach-O/image" |
Typedefs | |
typedef uint32 | MACHOAddress |
Functions | |
bool | macho_phys_and_mem_section (MACHO_SECTION *s, UINT machoclass) |
bool | macho_valid_section (MACHO_SECTION *s, UINT machoclass) |
bool | macho_addr_to_section (macho_sections *section_headers, UINT machoclass, MACHOAddress addr, int *section) |
bool | macho_addr_to_ofs (macho_sections *section_headers, UINT machoclass, MACHOAddress addr, dword *ofs) |
bool | macho_addr_is_valid (macho_sections *section_headers, UINT machoclass, MACHOAddress addr) |
bool | macho_ofs_to_addr (macho_sections *section_headers, UINT machoclass, dword ofs, MACHOAddress *addr) |
bool | macho_ofs_to_section (macho_sections *section_headers, UINT machoclass, dword ofs, dword *section) |
Variables | |
format_viewer_if | htmacho_if |
|
Definition at line 29 of file htmacho.h. Referenced by ht_macho::init(). |
|
|
|
|
|
|
Definition at line 213 of file htmacho.cc. References macho_sections::count, macho_valid_section(), MACHOAddress, macho_sections::sections, UINT, MACHO_SECTION::vmaddr, and MACHO_SECTION::vmsize. |
|
Definition at line 186 of file htmacho.cc. References macho_sections::count, MACHO_SECTION::fileoff, macho_phys_and_mem_section(), MACHOAddress, macho_sections::sections, UINT, MACHO_SECTION::vmaddr, and MACHO_SECTION::vmsize. Referenced by MachoAnalyser::addressToFileofs(). |
|
Definition at line 200 of file htmacho.cc. References macho_sections::count, macho_valid_section(), MACHOAddress, macho_sections::sections, UINT, MACHO_SECTION::vmaddr, and MACHO_SECTION::vmsize. Referenced by MachoAnalyser::getSegmentNameByAddress(), and MachoAnalyser::validAddress(). |
|
Definition at line 234 of file htmacho.cc. References macho_sections::count, MACHO_SECTION::fileoff, macho_phys_and_mem_section(), MACHOAddress, macho_sections::sections, UINT, MACHO_SECTION::vmaddr, and MACHO_SECTION::vmsize. Referenced by MachoAnalyser::fileofsToAddress(). |
|
Definition at line 247 of file htmacho.cc. References macho_sections::count, MACHO_SECTION::fileoff, macho_valid_section(), macho_sections::sections, UINT, and MACHO_SECTION::vmsize. |
|
Definition at line 176 of file htmacho.cc. References UINT. Referenced by macho_addr_to_ofs(), and macho_ofs_to_addr(). |
|
Definition at line 181 of file htmacho.cc. References UINT. Referenced by macho_addr_is_valid(), macho_addr_to_section(), and macho_ofs_to_section(). |
|
|