#include <elf_analy.h>
Inheritance diagram for ElfAnalyser:
|
Implements Analyser. Definition at line 538 of file elf_analy.cc. References convertAddressToELFAddress(), dword, ELF_HEADER::e_ident, elf_addr_to_ofs(), ELF_EI_CLASS, elf_shared, FILEOFS, ht_elf_shared_data::ident, INVALID_FILE_OFS, scinitialized, ht_elf_shared_data::sheaders, and validAddress(). Referenced by bufPtr(). |
|
|
Implements Analyser. Definition at line 458 of file elf_analy.cc. References addressToFileofs(), assert, buf, file, FILEOFS, INVALID_FILE_OFS, ht_stream::read(), ht_streamfile::seek(), size, and uint. |
|
Definition at line 469 of file elf_analy.cc. References ELFAddress::a32, ELFAddress::a64, ATOM_ADDRESS_FLAT_32, ATOM_ADDRESS_FLAT_64, ATOM_ADDRESS_X86_FLAT_32, and Object::object_id(). Referenced by addressToFileofs(), getSegmentNameByAddress(), and validAddress(). |
|
Implements Analyser. Definition at line 486 of file elf_analy.cc. References ELF_HEADER::e_ident, ELF_HEADER32::e_machine, ELF_EI_CLASS, ELF_EM_386, elf_shared, ELFCLASS32, ELFCLASS64, ht_elf_shared_data::header32, and ht_elf_shared_data::ident. |
|
Definition at line 507 of file elf_analy.cc. References ELF_HEADER32::e_machine, ELF_EM_386, elf_shared, and ht_elf_shared_data::header32. Referenced by beginAnalysis(), fileofsToAddress(), initInsertFakeSymbols(), and initInsertSymbols(). |
|
Definition at line 516 of file elf_analy.cc. Referenced by beginAnalysis(), fileofsToAddress(), and initInsertSymbols(). |
|
Reimplemented from Analyser. Definition at line 524 of file elf_analy.cc. References ELF_HEADER32::e_machine, ELF_EM_386, elf_shared, ht_elf_shared_data::header32, Object::init(), NULL, X86_ADDRSIZE32, and X86_OPSIZE32. |
|
Reimplemented from Analyser. Definition at line 443 of file elf_analy.cc. References Analyser::done(), Area::done(), and validarea. |
|
converts |FILEOFS fileaddr| to |Address| Reimplemented from Analyser. Definition at line 694 of file elf_analy.cc. References ELFAddress::a32, ELFAddress::a64, createAddress32(), createAddress64(), ELF_HEADER::e_ident, ELF_EI_CLASS, elf_ofs_to_addr(), elf_shared, ELFCLASS32, ELFCLASS64, FILEOFS, ht_elf_shared_data::ident, and ht_elf_shared_data::sheaders. |
|
Reimplemented from Analyser. Definition at line 575 of file elf_analy.cc. References file, and ht_stream::get_desc(). |
|
Reimplemented from Analyser. Definition at line 555 of file elf_analy.cc. References convertAddressToELFAddress(), ELF_HEADER::e_ident, elf_addr_to_section(), ELF_EI_CLASS, elf_shared, ht_elf_shared_data::fake_undefined_shidx, ht_elf_shared_data::ident, NULL, ht_elf_shared_data::sheaders, and ht_elf_shared_data::shnames. Referenced by beginAnalysis(). |
|
Reimplemented from Analyser. Definition at line 583 of file elf_analy.cc. |
|
Definition at line 52 of file elf_analy.cc. References elf_shared, file, Analyser::init(), Area::init(), and validarea. |
|
Reimplemented from Analyser. Definition at line 591 of file elf_analy.cc. References Analyser::initCodeAnalyser(). |
|
|
|
Implements Analyser. Definition at line 599 of file elf_analy.cc. References ANALYX86DISASSEMBLER_FLAGS_FLAT64, DPRINTF, ELF_HEADER::e_ident, ELF_HEADER64::e_machine, ELF_HEADER32::e_machine, ELF_EI_CLASS, ELF_EM_386, ELF_EM_IA_64, ELF_EM_PPC, ELF_EM_PPC64, elf_shared, ELFCLASS32, ELFCLASS64, errorbox, ht_elf_shared_data::header32, ht_elf_shared_data::header64, ht_elf_shared_data::ident, and warnbox. |
|
loads object from object stream.
Reimplemented from Analyser. Definition at line 434 of file elf_analy.cc. References GET_OBJECT, Analyser::load(), and validarea. |
|
Reimplemented from Analyser. Definition at line 649 of file elf_analy.cc. |
|
Implements Analyser. Definition at line 662 of file elf_analy.cc. References Area::findNext(), and validarea. |
|
Reimplemented from Object. Definition at line 450 of file elf_analy.cc. References ATOM_ELF_ANALYSER. |
|
Reimplemented from Analyser. Definition at line 679 of file elf_analy.cc. References Q_DO_ANALYSIS, Q_ENGAGE_CODE_ANALYSER, and Q_ENGAGE_DATA_ANALYSER. |
|
stores object. Reimplemented from Analyser. Definition at line 670 of file elf_analy.cc. References PUT_OBJECT, Analyser::store(), and validarea. |
|
Implements Analyser. Definition at line 711 of file elf_analy.cc. References byte, convertAddressToELFAddress(), ELF_HEADER::e_ident, elf_addr_to_section(), ELF_EI_CLASS, elf_shared, ELF_SHF_EXECINSTR, ELF_SHF_WRITE, ELF_SHT_PROGBITS, ELFCLASS32, ELFCLASS64, ht_elf_shared_data::ident, sccode, scinitialized, scread, screadwrite, scvalid, scwrite, ELF_SECTION_HEADER64::sh_flags, ELF_SECTION_HEADER32::sh_flags, ELF_SECTION_HEADER64::sh_type, ELF_SECTION_HEADER32::sh_type, ht_elf_shared_data::sheaders, elf_section_headers::sheaders32, and elf_section_headers::sheaders64. Referenced by addressToFileofs(), beginAnalysis(), and initInsertSymbols(). |
|
Definition at line 32 of file elf_analy.h. Referenced by addressToFileofs(), beginAnalysis(), createAddress(), createAddress32(), createAssembler(), fileofsToAddress(), getSegmentNameByAddress(), init(), initInsertFakeSymbols(), initInsertSymbols(), initUnasm(), and validAddress(). |
|
Definition at line 33 of file elf_analy.h. Referenced by bufPtr(), getName(), init(), initInsertFakeSymbols(), and initInsertSymbols(). |
|
Definition at line 34 of file elf_analy.h. Referenced by beginAnalysis(), done(), init(), load(), nextValid(), and store(). |