#include <analy.h>
Inheritance diagram for Analyser:

|
||||||||||||||||||||
|
Definition at line 737 of file analy.cc. References ADDRESS_STRING_FORMAT_COMPACT, addSymbol(), global_analyser_address_string_format, ht_snprintf(), label_prefix(), scvalid, and validAddress(). Referenced by ClassAnalyser::beginAnalysis(), dataAccess(), ht_aviewer::dataStringDialog(), and doBranch(). |
|
||||||||||||||||
|
|
Implemented in ClassAnalyser, CoffAnalyser, ElfAnalyser, FLTAnalyser, LEAnalyser, MachoAnalyser, NEAnalyser, PEAnalyser, PEFAnalyser, and XBEAnalyser. Referenced by AnalyserHTOutput::endLine(), ht_aviewer::get_current_offset(), and ht_aviewer::pos_to_offset(). |
|
||||||||||||||||||||
|
Definition at line 783 of file analy.cc. References Location::addr, Address::compareTo(), data, dst_function, dst_location, dt_unknown, dt_unknown_data, Location::label, label_data, label_func, label_loc, label_unknown, Symbol::location, newLocation(), newSymbol(), scvalid, DataAnalyser::setAddressType(), DataAnalyser::setCodeAddressType(), taddr_type::type, Location::type, validAddress(), and validCodeAddress(). Referenced by addAddressSymbol(), and doBranch(). |
|
||||||||||||||||
|
Definition at line 829 of file analy.cc. References compare_keys_ht_data(), DPRINTF, DUP_ADDR, ht_tree::get(), ht_tree::insert(), newLocation(), scvalid, validAddress(), and Location::xrefs. Referenced by AnalyX86Disassembler::branchAddr(), doBranch(), AnalyX86Disassembler::examineOpcode(), ht_aviewer::searchForXRefs(), and ht_aviewer::showXRefs(). |
|
||||||||||||||||
|
Definition at line 856 of file analy.cc. References addComment(). |
|
||||||||||||||||||||
|
||||||||||||||||
|
Definition at line 912 of file analy.cc. References compare_keys_ht_data(), DPRINTF, DUP_ADDR, ht_tree::get(), ht_tree::insert(), newLocation(), scvalid, AddrXRef::type, validAddress(), and Location::xrefs. |
|
|
Reimplemented in ClassAnalyser, CoffAnalyser, ElfAnalyser, FLTAnalyser, LEAnalyser, MachoAnalyser, NEAnalyser, PEAnalyser, PEFAnalyser, and XBEAnalyser. Definition at line 942 of file analy.cc. References analy_disasm, disasm, DPRINTF, gotoAddress(), invalid_addr, ops_parsed, Q_DO_ANALYSIS, queryConfig(), and setActive(). Referenced by XBEAnalyser::beginAnalysis(), PEFAnalyser::beginAnalysis(), PEAnalyser::beginAnalysis(), NEAnalyser::beginAnalysis(), MachoAnalyser::beginAnalysis(), LEAnalyser::beginAnalysis(), FLTAnalyser::beginAnalysis(), ElfAnalyser::beginAnalysis(), CoffAnalyser::beginAnalysis(), ClassAnalyser::beginAnalysis(), continueAnalysisAt(), and ht_aviewer::handlemsg(). |
|
||||||||||||||||
|
Implemented in ClassAnalyser, CoffAnalyser, ElfAnalyser, FLTAnalyser, LEAnalyser, MachoAnalyser, NEAnalyser, PEAnalyser, PEFAnalyser, and XBEAnalyser. Referenced by continueAnalysis(), dataAccess(), ht_aviewer::dataStringDialog(), doBranch(), AnalyserOutput::generateAddr(), getDisasmStr(), getDisasmStrFormatted(), ht_aviewer::handlemsg(), and srt_x86(). |
|
|
|
Definition at line 1029 of file analy.cc. References active, beginAnalysis(), data, disasm, DPRINTF, dst_function, pushAddress(), Q_DO_ANALYSIS, queryConfig(), sccode, DataAnalyser::setCodeAddressType(), and validAddress(). Referenced by ht_aviewer::handlemsg(). |
|
|
|
Reimplemented in ClassAnalyser, CoffAnalyser, ElfAnalyser, FLTAnalyser, LEAnalyser, MachoAnalyser, NEAnalyser, PEAnalyser, PEFAnalyser, and XBEAnalyser. Definition at line 1051 of file analy.cc. References NULL. Referenced by ht_aviewer::handlemsg(). |
|
||||||||||||
|
|
Definition at line 1130 of file analy.cc. References AF_DELETED, disableSymbol(), Location::flags, getLocationByAddress(), Location::label, location_count, and NULL. Referenced by ht_aviewer::handlemsg(). |
|
|
Definition at line 1144 of file analy.cc. References disableSymbol(), getLocationByAddress(), Location::label, NULL, and symbol_count. Referenced by ht_aviewer::handlemsg(). |
|
||||||||||||
|
Definition at line 1157 of file analy.cc. References ht_tree::del(), DPRINTF, getLocationByAddress(), scvalid, validAddress(), and Location::xrefs. Referenced by ht_aviewer::showXRefs(). |
|
|
Definition at line 1177 of file analy.cc. References Symbol::location, and NULL. Referenced by assignSymbol(), deleteLocation(), and deleteSymbol(). |
|
||||||||||||||||
|
|
Reimplemented from Object. Reimplemented in ClassAnalyser, CoffAnalyser, ElfAnalyser, FLTAnalyser, LEAnalyser, MachoAnalyser, NEAnalyser, PEAnalyser, PEFAnalyser, and XBEAnalyser. Definition at line 694 of file analy.cc. References addr, addr_queue, analy_disasm, code, data, ht_clist::destroy(), disasm, AnalyDisassembler::done(), Object::done(), DataAnalyser::done(), CodeAnalyser::done(), Area::done(), explored, first_explored, freeLocations(), freeSymbols(), initialized, invalid_addr, last_explored, locations, next_explored, setActive(), and symbols. Referenced by XBEAnalyser::done(), PEFAnalyser::done(), PEAnalyser::done(), NEAnalyser::done(), MachoAnalyser::done(), LEAnalyser::done(), ht_aviewer::done(), FLTAnalyser::done(), ElfAnalyser::done(), CoffAnalyser::done(), ClassAnalyser::done(), and ht_aviewer::handlemsg(). |
|
|
Definition at line 1298 of file analy.cc. References DPRINTF, Q_ENGAGE_CODE_ANALYSER, and queryConfig(). |
|
|
Definition at line 1318 of file analy.cc. References Location::addr, AF_DELETED, Location::flags, locations, and NULL. Referenced by ht_aviewer::dataStringDialog(), and AnalyserOutput::generateAddr(). |
|
|
Definition at line 1343 of file analy.cc. References Location::addr, AF_DELETED, Location::flags, locations, and NULL. Referenced by getFunctionByAddress(), getLocationContextByAddress(), getPreviousSymbolByAddress(), and AnalyserOutput::prevLine(). |
|
|
Definition at line 1419 of file analy.cc. References enumSymbolsByName(), Symbol::name, and NULL. Referenced by export_to_sym(), SymbolBox::getFirst(), SymbolBox::getNext(), and SymbolBox::quickfindCompletition(). |
|
|
Definition at line 1372 of file analy.cc. References Symbol::location, Symbol::name, NULL, and symbols. Referenced by enumSymbols(), SymbolBox::quickfind(), and SymbolBox::quickfindCompletition(). |
|
|
Definition at line 1402 of file analy.cc. References Symbol::location, Symbol::name, NULL, and symbols. Referenced by enumSymbolsReverse(). |
|
|
Definition at line 1428 of file analy.cc. References enumSymbolsByNameReverse(), Symbol::name, and NULL. Referenced by SymbolBox::getLast(), and SymbolBox::getPrev(). |
|
|
Definition at line 1441 of file analy.cc. References DPRINTF, dt_unknown, scinitialized, taddr_typetype, validAddress(), and validReadAddress(). |
|
|
converts |FILEOFS fileaddr| to |Address| Reimplemented in ClassAnalyser, CoffAnalyser, ElfAnalyser, FLTAnalyser, LEAnalyser, MachoAnalyser, NEAnalyser, PEAnalyser, PEFAnalyser, and XBEAnalyser. Definition at line 1548 of file analy.cc. References DUP_ADDR, FILEOFS, and invalid_addr. Referenced by ht_aviewer::offset_to_pos(). |
|
|
called once every time the analyser has nothing more to do. Definition at line 1557 of file analy.cc. References addr, cur_func, DPRINTF, NULL, and setActive(). Referenced by continueAnalysis(). |
|
|
Definition at line 1598 of file analy.cc. References Location::comments, ht_clist::destroy(), and NULL. Referenced by freeLocation(), and ht_aviewer::showComments(). |
|
|
Definition at line 1569 of file analy.cc. References Location::addr, ht_tree::destroy(), freeComments(), and Location::xrefs. Referenced by freeLocations(). |
|
|
Definition at line 1586 of file analy.cc. References freeLocation(), Location::left, and Location::right. Referenced by done(). |
|
|
Definition at line 1611 of file analy.cc. References Symbol::name. Referenced by freeSymbols(). |
|
|
Definition at line 1623 of file analy.cc. References freeSymbol(), Symbol::left, and Symbol::right. Referenced by done(). |
|
|
Definition at line 1635 of file analy.cc. References Location::comments, getLocationByAddress(), and NULL. Referenced by ht_aviewer::showComments(). |
|
||||||||||||
|
Definition at line 1660 of file analy.cc. References addr_sym_func, buf, bufPtr(), byte, Disassembler::decode(), DIS_STYLE_HEX_ASMSTYLE, DIS_STYLE_HEX_NOZEROPAD, disasm, DISASM_STRF_SMALL_FORMAT, Disassembler::getSize(), mapAddr(), max_opcode_length, MIN, NULL, OPCODE, scinitialized, Disassembler::strf(), and validAddress(). Referenced by AnalyInfoline::gettext(), and ht_aviewer::handlemsg(). |
|
|
Definition at line 1681 of file analy.cc. References addr_sym_func, addr_sym_func_context, buf, bufPtr(), byte, Disassembler::decode(), DIS_STYLE_HEX_ASMSTYLE, DIS_STYLE_HEX_NOZEROPAD, disasm, DISASM_STRF_SMALL_FORMAT, mapAddr(), max_opcode_length, MIN, NULL, OPCODE, and Disassembler::strf(). Referenced by ht_aviewer::handlemsg(). |
|
|
Definition at line 1704 of file analy.cc. References mode. Referenced by ht_aviewer::searchForXRefs(). |
|
|
Definition at line 1492 of file analy.cc. References Location::addr, AF_FUNCTION_END, AF_FUNCTION_SET, enumLocationsReverse(), Location::flags, getLocationByAddress(), NULL, and Location::thisfunc. Referenced by AnalyInfoline::gettext(), ht_aviewer::handlemsg(), ht_aviewer::pos_to_string(), ht_aviewer::showCallChain(), and ht_aviewer::showXRefs(). |
|
|
Definition at line 1466 of file analy.cc. References locations. Referenced by dataAccess(), deleteLocation(), deleteSymbol(), deleteXRef(), AnalyserOutput::generateAddr(), getComments(), getFunctionByAddress(), getPreviousSymbolByAddress(), getSymbolByAddress(), getXRefs(), ht_aviewer::pos_to_string(), ht_aviewer::showComments(), and validCodeAddress(). |
|
|
Definition at line 1474 of file analy.cc. References Address::add(), Location::addr, Address::compareTo(), dt_unknown, DUP_ADDR, enumLocationsReverse(), taddr_type::length, NULL, taddr_type::type, and Location::type. Referenced by ht_aviewer::canCreateAddress(). |
|
|
Definition at line 1721 of file analy.cc. References locations. Referenced by AnalyserInformation::idle(), and store(). |
|
|
Reimplemented in ClassAnalyser, CoffAnalyser, ElfAnalyser, FLTAnalyser, LEAnalyser, MachoAnalyser, NEAnalyser, PEAnalyser, PEFAnalyser, and XBEAnalyser. Definition at line 1731 of file analy.cc. Referenced by AnalyserTxtOutput::header(), ht_aviewer::idle(), and AnalyserInformation::idle(). |
|
|
Definition at line 1506 of file analy.cc. References Location::addr, AF_FUNCTION_END, enumLocationsReverse(), Location::flags, getLocationByAddress(), Location::label, and NULL. Referenced by ht_aviewer::handlemsg(), and ht_aviewer::showSymbols(). |
|
|
Reimplemented in ClassAnalyser, CoffAnalyser, ElfAnalyser, FLTAnalyser, LEAnalyser, MachoAnalyser, NEAnalyser, PEAnalyser, PEFAnalyser, and XBEAnalyser. Definition at line 1758 of file analy.cc. References NULL. Referenced by AnalyInfoline::gettext(). |
|
|
Definition at line 1766 of file analy.cc. References getLocationByAddress(), Location::label, and NULL. Referenced by doBranch(), and ht_aviewer::handlemsg(). |
|
|