#include <macho_analy.h>
Inheritance diagram for MachoAnalyser:
|
Implements Analyser. Definition at line 300 of file macho_analy.cc. References convertAddressToMACHOAddress(), FILEOFS, INVALID_FILE_OFS, macho_addr_to_ofs(), macho_shared, MACHOAddress, scinitialized, ht_macho_shared_data::sections, uint32, and validAddress(). Referenced by bufPtr(). |
|
|
Implements Analyser. Definition at line 222 of file macho_analy.cc. References addressToFileofs(), assert, buf, file, FILEOFS, INVALID_FILE_OFS, ht_stream::read(), ht_streamfile::seek(), size, and UINT. |
|
Definition at line 233 of file macho_analy.cc. References ATOM_ADDRESS_FLAT_32, ATOM_ADDRESS_X86_FLAT_32, MACHOAddress, and Object::object_id(). Referenced by addressToFileofs(), getSegmentNameByAddress(), and validAddress(). |
|
Implements Analyser. Definition at line 255 of file macho_analy.cc. References assert, MACHO_HEADER::cputype, ht_macho_shared_data::header, MACHO_CPU_TYPE_I386, MACHO_CPU_TYPE_POWERPC, macho_shared, and NULL. |
|
Definition at line 269 of file macho_analy.cc. References assert, MACHO_HEADER::cputype, ht_macho_shared_data::header, MACHO_CPU_TYPE_I386, MACHO_CPU_TYPE_POWERPC, macho_shared, and NULL. Referenced by beginAnalysis(), and fileofsToAddress(). |
|
|
|
Reimplemented from Analyser. Definition at line 286 of file macho_analy.cc. References NULL. |
|
Reimplemented from Analyser. Definition at line 207 of file macho_analy.cc. References Analyser::done(), Area::done(), and validarea. |
|
converts |FILEOFS fileaddr| to |Address| Reimplemented from Analyser. Definition at line 426 of file macho_analy.cc. References createAddress32(), FILEOFS, macho_ofs_to_addr(), macho_shared, MACHOAddress, and ht_macho_shared_data::sections. |
|
Reimplemented from Analyser. Definition at line 332 of file macho_analy.cc. References file, and ht_stream::get_desc(). |
|
Reimplemented from Analyser. Definition at line 316 of file macho_analy.cc. References convertAddressToMACHOAddress(), macho_addr_to_section(), macho_shared, MACHOAddress, NULL, macho_sections::sections, ht_macho_shared_data::sections, and MACHO_SECTION::sectname. Referenced by beginAnalysis(). |
|
Reimplemented from Analyser. Definition at line 340 of file macho_analy.cc. |
|
Definition at line 50 of file macho_analy.cc. References file, Analyser::init(), Area::init(), macho_shared, and validarea. |
|
Reimplemented from Analyser. Definition at line 348 of file macho_analy.cc. References Analyser::initCodeAnalyser(). |
|
Definition at line 191 of file macho_analy.cc. |
|
Implements Analyser. Definition at line 356 of file macho_analy.cc. References ANALYX86DISASSEMBLER_FLAGS_FLAT64, MACHO_HEADER::cputype, DPRINTF, ht_macho_shared_data::header, MACHO_CPU_TYPE_I386, MACHO_CPU_TYPE_POWERPC, macho_shared, UINT, and warnbox. |
|
loads object from object stream.
Reimplemented from Analyser. Definition at line 198 of file macho_analy.cc. References GET_OBJECT, Analyser::load(), and validarea. |
|
Reimplemented from Analyser. Definition at line 381 of file macho_analy.cc. |
|
Implements Analyser. Definition at line 394 of file macho_analy.cc. References Area::findNext(), and validarea. |
|
Reimplemented from Object. Definition at line 214 of file macho_analy.cc. References ATOM_MACHO_ANALYSER. |
|
Reimplemented from Analyser. Definition at line 411 of file macho_analy.cc. References Q_DO_ANALYSIS, Q_ENGAGE_CODE_ANALYSER, and Q_ENGAGE_DATA_ANALYSER. |
|
stores object. Reimplemented from Analyser. Definition at line 402 of file macho_analy.cc. References PUT_OBJECT, Analyser::store(), and validarea. |
|
Implements Analyser. Definition at line 444 of file macho_analy.cc. References byte, convertAddressToMACHOAddress(), MACHO_SECTION::flags, macho_addr_to_section(), MACHO_S_4BYTE_LITERALS, MACHO_S_8BYTE_LITERALS, MACHO_S_CSTRING_LITERALS, MACHO_S_REGULAR, MACHO_S_ZEROFILL, MACHO_SECTION_TYPE, macho_shared, MACHOAddress, sccode, scinitialized, scread, screadwrite, scvalid, scwrite, macho_sections::sections, and ht_macho_shared_data::sections. Referenced by addressToFileofs(), and beginAnalysis(). |
|
Definition at line 33 of file macho_analy.h. Referenced by beginAnalysis(), bufPtr(), getName(), and init(). |
|
Definition at line 32 of file macho_analy.h. Referenced by addressToFileofs(), beginAnalysis(), createAddress(), createAddress32(), fileofsToAddress(), getSegmentNameByAddress(), init(), initUnasm(), and validAddress(). |
|
Definition at line 34 of file macho_analy.h. Referenced by beginAnalysis(), done(), init(), load(), nextValid(), and store(). |