7 #ifndef RETDEC_LLVMIR2HLL_PATTERN_PATTERN_FINDER_RUNNERS_CLI_PATTERN_FINDER_RUNNER_H
8 #define RETDEC_LLVMIR2HLL_PATTERN_PATTERN_FINDER_RUNNERS_CLI_PATTERN_FINDER_RUNNER_H
Runner of pattern finders for the command line interface (CLI).
Definition: cli_pattern_finder_runner.h:25
virtual void doActionsBeforePatternFinderRuns(ShPtr< PatternFinder > pf) override
Prints a sub-phase saying that the given finder is run.
Definition: cli_pattern_finder_runner.cpp:38
utils::io::Logger & os
Output stream, into which the patterns will be emitted.
Definition: cli_pattern_finder_runner.h:38
CLIPatternFinderRunner(utils::io::Logger &os)
Constructs a runner of pattern finders.
Definition: cli_pattern_finder_runner.cpp:30
void printPatternInfo(const ShPtr< Pattern > &p)
Prints information about the given pattern.
Definition: cli_pattern_finder_runner.cpp:56
virtual void doActionsAfterPatternFinderHasRun(ShPtr< PatternFinder > pf, const PatternFinder::Patterns &foundPatterns) override
Prints the found patterns of the given finder.
Definition: cli_pattern_finder_runner.cpp:46
A base class for all runners of pattern finders.
Definition: pattern_finder_runner.h:28
std::vector< ShPtr< Pattern > > Patterns
A list of patterns.
Definition: pattern_finder.h:41
Provides Logger inteface that is used for logging events during decompilation.
Definition: logger.h:22
A library providing API for working with back-end IR.
std::shared_ptr< T > ShPtr
An alias for a shared pointer.
Definition: smart_ptr.h:18
Definition: archive_wrapper.h:19
A base class for all runners of pattern finders.