retdec
example.h
Go to the documentation of this file.
1 
7 #ifndef UNPACKERTOOL_PLUGINS_EXAMPLE_EXAMPLE_H
8 #define UNPACKERTOOL_PLUGINS_EXAMPLE_EXAMPLE_H
9 
10 #include "retdec/unpacker/plugin.h"
12 
13 using namespace retdec::unpacker;
14 
15 namespace retdec {
16 namespace unpackertool {
17 namespace example {
18 
19 class ExamplePlugin : public Plugin
20 {
21 public:
22  ExamplePlugin();
23  virtual ~ExamplePlugin() override;
24 
25  virtual void prepare() override;
26  virtual void unpack() override;
27  virtual void cleanup() override;
28 };
29 
30 } // namespace example
31 } // namespace unpackertool
32 } // namespace retdec
33 
34 #endif
The abstract base of unpacking plugin.
Definition: plugin.h:51
Definition: compressed_data.h:18
Definition: archive_wrapper.h:19
Plugin class declaration which is representation of interface to the plugin library.
void cleanup(ProgramOptions &po)
Definition: retdec-decompiler.cpp:910
Declaration of unpacker exceptions that can be subclassed in unpacker plugins.