#include <ne_analy.h>
Inheritance diagram for NEAnalyser:
Public Member Functions | |
void | init (ht_ne_shared_data *ne_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 | convertAddressToNEAddress (Address *addr, NEAddress *r) |
virtual Address * | createAddress () |
Address * | createAddress1616 (word seg, word ofs) |
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 Address * | fileofsToAddress (FILEOFS fileofs) |
virtual char * | getSegmentNameByAddress (Address *Addr) |
virtual FILEOFS | addressToFileofs (Address *Addr) |
virtual bool | validAddress (Address *Addr, tsectype action) |
Public Attributes | |
ht_ne_shared_data * | ne_shared |
ht_streamfile * | file |
Area * | validarea |
|
Implements Analyser. Definition at line 327 of file ne_analy.cc. References convertAddressToNEAddress(), FILEOFS, INVALID_FILE_OFS, NE_addr_to_ofs(), ne_shared, NEAddress, scinitialized, and validAddress(). Referenced by bufPtr(). |
|
|
Implements Analyser. Definition at line 282 of file ne_analy.cc. References addressToFileofs(), assert, buf, file, FILEOFS, INVALID_FILE_OFS, ht_stream::read(), ht_streamfile::seek(), size, and UINT. Referenced by beginAnalysis(). |
|
Definition at line 293 of file ne_analy.cc. References ATOM_ADDRESS_X86_1616, NE_MAKE_ADDR, and Object::object_id(). Referenced by addressToFileofs(), getSegmentNameByAddress(), and validAddress(). |
|
Implements Analyser. Definition at line 303 of file ne_analy.cc. |
|
Definition at line 308 of file ne_analy.cc. Referenced by beginAnalysis(), and fileofsToAddress(). |
|
Reimplemented from Analyser. Definition at line 316 of file ne_analy.cc. References Object::init(), X86_ADDRSIZE16, and X86_OPSIZE16. |
|
Reimplemented from Analyser. Definition at line 81 of file ne_analy.cc. References Analyser::done(), Area::done(), and validarea. |
|
converts |FILEOFS fileaddr| to |Address| Reimplemented from Analyser. Definition at line 443 of file ne_analy.cc. References createAddress1616(), FILEOFS, NE_ADDR_OFS, NE_ADDR_SEG, NE_ofs_to_addr(), ne_shared, and NEAddress. |
|
Reimplemented from Analyser. Definition at line 363 of file ne_analy.cc. References file, and ht_stream::get_desc(). |
|
Reimplemented from Analyser. Definition at line 345 of file ne_analy.cc. References convertAddressToNEAddress(), ht_ne_shared_data::fake_segment, NE_addr_to_segment(), ne_shared, NEAddress, and NULL. Referenced by beginAnalysis(). |
|
Reimplemented from Analyser. Definition at line 371 of file ne_analy.cc. |
|
Definition at line 47 of file ne_analy.cc. References file, Analyser::init(), Area::init(), ne_shared, Analyser::setLocationTreeOptimizeThreshold(), Analyser::setSymbolTreeOptimizeThreshold(), and validarea. |
|
Reimplemented from Analyser. Definition at line 379 of file ne_analy.cc. References Analyser::initCodeAnalyser(). |
|
Implements Analyser. Definition at line 387 of file ne_analy.cc. References ANALYX86DISASSEMBLER_FLAGS_16BIT, ANALYX86DISASSEMBLER_FLAGS_SEGMENTED, and DPRINTF. |
|
loads object from object stream.
Reimplemented from Analyser. Definition at line 67 of file ne_analy.cc. References GET_OBJECT, Analyser::load(), and validarea. |
|
Reimplemented from Analyser. Definition at line 398 of file ne_analy.cc. |
|
Implements Analyser. Definition at line 411 of file ne_analy.cc. References Area::findNext(), and validarea. |
|
Reimplemented from Object. Definition at line 274 of file ne_analy.cc. References ATOM_NE_ANALYSER. |
|
Reimplemented from Analyser. Definition at line 428 of file ne_analy.cc. References Q_DO_ANALYSIS, Q_ENGAGE_CODE_ANALYSER, and Q_ENGAGE_DATA_ANALYSER. |
|
stores object. Reimplemented from Analyser. Definition at line 419 of file ne_analy.cc. References PUT_OBJECT, Analyser::store(), and validarea. |
|
Implements Analyser. Definition at line 456 of file ne_analy.cc. References convertAddressToNEAddress(), NE_addr_is_physical(), NE_addr_to_segment(), NE_DATA, NE_READONLY, ne_shared, NEAddress, sccode, scinitialized, scread, screadwrite, scvalid, scwrite, ne_segment_headers::segments, and ht_ne_shared_data::segments. Referenced by addressToFileofs(), and beginAnalysis(). |
|
Definition at line 30 of file ne_analy.h. Referenced by beginAnalysis(), bufPtr(), getName(), and init(). |
|
Definition at line 29 of file ne_analy.h. Referenced by addressToFileofs(), beginAnalysis(), fileofsToAddress(), getSegmentNameByAddress(), init(), and validAddress(). |
|
Definition at line 31 of file ne_analy.h. Referenced by beginAnalysis(), done(), init(), load(), nextValid(), and store(). |