retdec
export_table.h
Go to the documentation of this file.
1 
7 #ifndef FILEINFO_FILE_INFORMATION_FILE_INFORMATION_TYPES_EXPORT_TABLE_H
8 #define FILEINFO_FILE_INFORMATION_FILE_INFORMATION_TYPES_EXPORT_TABLE_H
9 
11 
12 namespace retdec {
13 namespace fileinfo {
14 
19 {
20  private:
22  public:
25  std::size_t getNumberOfExports() const;
26  std::string getExphashCrc32() const;
27  std::string getExphashMd5() const;
28  std::string getExphashSha256() const;
29  std::string getExportName(std::size_t position) const;
30  std::string getExportAddressStr(std::size_t position, std::ios_base &(* format)(std::ios_base &)) const;
31  std::string getExportOrdinalNumberStr(std::size_t position, std::ios_base &(* format)(std::ios_base &)) const;
33 
36  void setTable(const retdec::fileformat::ExportTable *exportTable);
38 
41  bool hasRecords() const;
43 };
44 
45 } // namespace fileinfo
46 } // namespace retdec
47 
48 #endif
Definition: export_table.h:21
Definition: export_table.h:19
std::string getExphashCrc32() const
Definition: export_table.cpp:26
void setTable(const retdec::fileformat::ExportTable *exportTable)
Definition: export_table.cpp:89
std::string getExphashSha256() const
Definition: export_table.cpp:44
std::string getExphashMd5() const
Definition: export_table.cpp:35
std::size_t getNumberOfExports() const
Definition: export_table.cpp:17
std::string getExportName(std::size_t position) const
Definition: export_table.cpp:54
std::string getExportOrdinalNumberStr(std::size_t position, std::ios_base &(*format)(std::ios_base &)) const
Definition: export_table.cpp:78
bool hasRecords() const
Definition: export_table.cpp:98
const retdec::fileformat::ExportTable * table
Definition: export_table.h:21
std::string getExportAddressStr(std::size_t position, std::ios_base &(*format)(std::ios_base &)) const
Definition: export_table.cpp:66
Class for export table.
Definition: archive_wrapper.h:19