retdec
pe_import.h
Go to the documentation of this file.
1 
7 #ifndef RETDEC_FILEFORMAT_TYPES_IMPORT_TABLE_PE_IMPORT_H
8 #define RETDEC_FILEFORMAT_TYPES_IMPORT_TABLE_PE_IMPORT_H
9 
11 
12 namespace retdec {
13 namespace fileformat {
14 
15 enum PeImportFlag : std::uint32_t
16 {
17  None = 0,
18  Delayed = 1,
19 };
20 
24 class PeImport : public Import
25 {
26  private:
27  std::uint32_t flags;
28  public:
29  PeImport(std::uint32_t flags);
30 
33  bool isDelayed() const;
35 
38  void setDelayed(bool importDelayed);
40 
43  virtual bool isUsedForImphash() const override;
45 };
46 
47 } // namespace fileformat
48 } // namespace retdec
49 
50 #endif
Definition: import.h:19
Definition: pe_import.h:25
bool isDelayed() const
Definition: pe_import.cpp:24
PeImport(std::uint32_t flags)
Definition: pe_import.cpp:15
void setDelayed(bool importDelayed)
Definition: pe_import.cpp:33
std::uint32_t flags
Definition: pe_import.h:27
virtual bool isUsedForImphash() const override
Definition: pe_import.cpp:43
Class for one import.
PeImportFlag
Definition: pe_import.h:16
@ None
Definition: pe_import.h:17
@ Delayed
Definition: pe_import.h:18
Definition: archive_wrapper.h:19