retdec
writer_config.h
Go to the documentation of this file.
1 
7 #ifndef RETDEC_BIN2LLVMIR_OPTIMIZATIONS_WRITER_CONFIG_WRITER_CONFIG_H
8 #define RETDEC_BIN2LLVMIR_OPTIMIZATIONS_WRITER_CONFIG_WRITER_CONFIG_H
9 
10 #include <llvm/IR/Module.h>
11 #include <llvm/Pass.h>
12 
13 namespace retdec {
14 namespace bin2llvmir {
15 
16 class ConfigWriter : public llvm::ModulePass
17 {
18  public:
19  static char ID;
20  ConfigWriter();
21  virtual bool runOnModule(llvm::Module& M) override;
22 };
23 
24 } // namespace bin2llvmir
25 } // namespace retdec
26 
27 #endif
Definition: writer_config.h:17
ConfigWriter()
Definition: writer_config.cpp:24
static char ID
Definition: writer_config.h:19
virtual bool runOnModule(llvm::Module &M) override
Definition: writer_config.cpp:30
The frontend-end part of the decompiler.
Definition: archive_wrapper.h:19