1 #ifndef ROSE_BinaryAnalysis_Partitioner2_ModulesMips_H
2 #define ROSE_BinaryAnalysis_Partitioner2_ModulesMips_H
3 #include <featureTests.h>
4 #ifdef ROSE_ENABLE_BINARY_ANALYSIS
6 #include <Rose/BinaryAnalysis/Partitioner2/Modules.h>
9 namespace BinaryAnalysis {
10 namespace Partitioner2 {
13 namespace ModulesMips {
26 virtual std::vector<FunctionPtr>
functions()
const override;
Base class for matching function prologues.
virtual bool match(const PartitionerConstPtr &, rose_addr_t anchor) override
Attempt to match an instruction pattern.
Main namespace for the ROSE library.
Matches a MIPS function prologue that's a return followed by ADDIU instruction.
static Ptr instance()
Allocating constructor.
virtual std::vector< FunctionPtr > functions() const override
Returns the function(s) for the previous successful match.