#include <xbe_analy.h>
Inheritance diagram for XBEAnalyser:
Public Member Functions | |
void | init (ht_xbe_shared_data *XBE_shared, ht_streamfile *File) |
int | load (ht_object_stream *f) |
virtual void | done () |
virtual OBJECT_ID | object_id () const |
virtual void | beginAnalysis () |
virtual UINT | bufPtr (Address *Addr, byte *buf, int size) |
bool | convertAddressToRVA (Address *addr, RVA *r) |
virtual Address * | createAddress () |
Address * | createAddress32 (dword addr) |
Address * | createAddress64 (qword high_addr) |
virtual Assembler * | createAssembler () |
virtual const char * | getName () |
virtual const char * | getType () |
virtual void | initCodeAnalyser () |
virtual void | initUnasm () |
virtual void | log (const char *msg) |
virtual Address * | nextValid (Address *Addr) |
virtual void | store (ht_object_stream *f) |
virtual int | queryConfig (int mode) |
virtual bool | validAddress (Address *Addr, tsectype action) |
virtual Address * | fileofsToAddress (FILEOFS fileofs) |
virtual FILEOFS | addressToFileofs (Address *Addr) |
virtual char * | getSegmentNameByAddress (Address *Addr) |
Public Attributes | |
ht_xbe_shared_data * | xbe_shared |
ht_streamfile * | file |
Area * | validarea |
|
Implements Analyser. Definition at line 273 of file xbe_analy.cc. References convertAddressToRVA(), FILEOFS, INVALID_FILE_OFS, RVA, scinitialized, ht_xbe_shared_data::sections, validAddress(), xbe_rva_to_ofs(), and xbe_shared. Referenced by bufPtr(). |
|
|
Implements Analyser. Definition at line 211 of file xbe_analy.cc. References addressToFileofs(), assert, buf, file, FILEOFS, INVALID_FILE_OFS, ht_stream::read(), ht_streamfile::seek(), size, and UINT. |
|
Definition at line 222 of file xbe_analy.cc. References ATOM_ADDRESS_FLAT_32, ATOM_ADDRESS_X86_FLAT_32, ht_xbe_shared_data::header, Object::object_id(), RVA, and xbe_shared. Referenced by addressToFileofs(), getSegmentNameByAddress(), and validAddress(). |
|
Implements Analyser. Definition at line 254 of file xbe_analy.cc. |
|
Definition at line 240 of file xbe_analy.cc. Referenced by beginAnalysis(), fileofsToAddress(), and ht_xbe_import_viewer::select_entry(). |
|
Definition at line 249 of file xbe_analy.cc. References NULL. |
|
Reimplemented from Analyser. Definition at line 263 of file xbe_analy.cc. References Object::init(), X86_ADDRSIZE32, and X86_OPSIZE32. |
|
Reimplemented from Analyser. Definition at line 73 of file xbe_analy.cc. References Analyser::done(), Area::done(), and validarea. |
|
converts |FILEOFS fileaddr| to |Address| Reimplemented from Analyser. Definition at line 456 of file xbe_analy.cc. References createAddress32(), FILEOFS, ht_xbe_shared_data::header, RVA, ht_xbe_shared_data::sections, xbe_ofs_to_rva(), and xbe_shared. |
|
Reimplemented from Analyser. Definition at line 322 of file xbe_analy.cc. References file, and ht_stream::get_desc(). |
|
Reimplemented from Analyser. Definition at line 294 of file xbe_analy.cc. References convertAddressToRVA(), NULL, RVA, ht_xbe_shared_data::sections, xbe_rva_is_valid(), xbe_rva_to_section(), and xbe_shared. Referenced by beginAnalysis(). |
|
Reimplemented from Analyser. Definition at line 330 of file xbe_analy.cc. |
|
Definition at line 49 of file xbe_analy.cc. References file, Analyser::init(), Area::init(), validarea, and xbe_shared. |
|
Reimplemented from Analyser. Definition at line 338 of file xbe_analy.cc. References Analyser::initCodeAnalyser(). |
|
Implements Analyser. Definition at line 394 of file xbe_analy.cc. References DPRINTF. |
|
loads object from object stream.
Reimplemented from Analyser. Definition at line 64 of file xbe_analy.cc. References GET_OBJECT, Analyser::load(), and validarea. |
|
Reimplemented from Analyser. Definition at line 406 of file xbe_analy.cc. |
|
Implements Analyser. Definition at line 419 of file xbe_analy.cc. References Area::findNext(), and validarea. |
|
Reimplemented from Object. Definition at line 203 of file xbe_analy.cc. References ATOM_XBE_ANALYSER. |
|
Reimplemented from Analyser. Definition at line 441 of file xbe_analy.cc. References Q_DO_ANALYSIS, Q_ENGAGE_CODE_ANALYSER, and Q_ENGAGE_DATA_ANALYSER. |
|
stores object. Reimplemented from Analyser. Definition at line 427 of file xbe_analy.cc. References PUT_OBJECT, Analyser::store(), and validarea. |
|
Implements Analyser. Definition at line 469 of file xbe_analy.cc. References convertAddressToRVA(), RVA, sccode, scinitialized, scread, screadwrite, scvalid, scwrite, xbe_section_headers::sections, ht_xbe_shared_data::sections, xbe_rva_is_physical(), xbe_rva_to_section(), XBE_SECTION_FLAGS_EXECUTABLE, XBE_SECTION_FLAGS_WRITABLE, and xbe_shared. Referenced by addressToFileofs(), and beginAnalysis(). |
|
Definition at line 31 of file xbe_analy.h. |
|
Definition at line 32 of file xbe_analy.h. Referenced by beginAnalysis(), done(), init(), load(), nextValid(), and store(). |
|
Definition at line 30 of file xbe_analy.h. Referenced by addressToFileofs(), beginAnalysis(), convertAddressToRVA(), fileofsToAddress(), getSegmentNameByAddress(), init(), and validAddress(). |