retdec
intel_hex_detector.h
Go to the documentation of this file.
1 
7 #ifndef FILEINFO_FILE_DETECTOR_INTEL_HEX_DETECTOR_H
8 #define FILEINFO_FILE_DETECTOR_INTEL_HEX_DETECTOR_H
9 
12 
13 namespace retdec {
14 namespace fileinfo {
15 
20 {
21  private:
22  std::shared_ptr<retdec::fileformat::IntelHexFormat> ihexParser;
23 
26  void getSections();
28  protected:
31  virtual void detectFileClass() override;
32  virtual void detectArchitecture() override;
33  virtual void detectFileType() override;
34  virtual void getAdditionalInfo() override;
37 
38  public:
40  std::string pathToInputFile,
41  FileInformation &finfo,
44 };
45 
46 } // namespace fileinfo
47 } // namespace retdec
48 
49 #endif
Definition: cpdetect.h:24
Definition: file_detector.h:21
retdec::fileformat::LoadFlags loadFlags
load flags for configurable running
Definition: file_detector.h:47
Definition: file_information.h:25
Definition: intel_hex_detector.h:20
IntelHexDetector(std::string pathToInputFile, FileInformation &finfo, retdec::cpdetect::DetectParams &searchPar, retdec::fileformat::LoadFlags loadFlags)
Definition: intel_hex_detector.cpp:23
virtual void getAdditionalInfo() override
Definition: intel_hex_detector.cpp:123
virtual void detectFileClass() override
Definition: intel_hex_detector.cpp:73
void getSections()
Definition: intel_hex_detector.cpp:37
virtual void detectFileType() override
Definition: intel_hex_detector.cpp:107
virtual retdec::cpdetect::CompilerDetector * createCompilerDetector() const override
Definition: intel_hex_detector.cpp:139
std::shared_ptr< retdec::fileformat::IntelHexFormat > ihexParser
file parser
Definition: intel_hex_detector.h:22
virtual void detectArchitecture() override
Definition: intel_hex_detector.cpp:78
Definition of FileDetector class.
Definition of IntelHexFormat class.
LoadFlags
Definition: fftypes.h:69
Definition: archive_wrapper.h:19
Definition: cptypes.h:110