retdec
vtable_finder.h
Go to the documentation of this file.
1 
7 #ifndef RETDEC_RTTI_FINDER_VTABLE_VTABLE_FINDER_H
8 #define RETDEC_RTTI_FINDER_VTABLE_VTABLE_FINDER_H
9 
10 #include <cstdint>
11 #include <vector>
12 
17 #include "retdec/common/address.h"
18 
19 namespace retdec {
20 namespace rtti_finder {
21 
22 namespace loader {
23  class Image;
24 } // namespace loader
25 
26 void findGccVtables(
27  const retdec::loader::Image* img,
28  VtablesGcc& vtables,
29  RttiGcc& rttis);
30 
31 void findMsvcVtables(
32  const retdec::loader::Image* img,
33  VtablesMsvc& vtables,
34  RttiMsvc& rttis);
35 
36 } // namespace rtti_finder
37 } // namespace retdec
38 
39 #endif
Definition: image.h:22
Address, address pair and other derived class representation.
Generic loader.
void findMsvcVtables(const retdec::loader::Image *img, VtablesMsvc &vtables, RttiMsvc &rttis)
Definition: vtable_finder.cpp:195
void findGccVtables(const retdec::loader::Image *img, VtablesGcc &vtables, RttiGcc &rttis)
Definition: vtable_finder.cpp:145
std::map< retdec::common::Address, std::shared_ptr< ClassTypeInfo > > RttiGcc
Definition: rtti_gcc.h:166
std::map< retdec::common::Address, VtableMsvc > VtablesMsvc
Definition: vtable_msvc.h:38
std::map< retdec::common::Address, VtableGcc > VtablesGcc
Definition: vtable_gcc.h:44
Definition: archive_wrapper.h:19
GCC/Clang C++ RTTI structures.
MSVC C++ RTTI structures.
GCC C++ virtual table structures.