Public Member Functions | Static Public Member Functions | List of all members
Rose::BinaryAnalysis::Partitioner2::ModulesM68k::MatchFunctionPadding Class Reference


Matches M68k function padding.

Definition at line 35 of file ModulesM68k.h.

#include <Rose/BinaryAnalysis/Partitioner2/ModulesM68k.h>

Inheritance diagram for Rose::BinaryAnalysis::Partitioner2::ModulesM68k::MatchFunctionPadding:
Inheritance graph
Collaboration diagram for Rose::BinaryAnalysis::Partitioner2::ModulesM68k::MatchFunctionPadding:
Collaboration graph

Public Member Functions

virtual rose_addr_t match (const PartitionerConstPtr &, rose_addr_t anchor) override
 Attempt to match padding. More...
- Public Member Functions inherited from Sawyer::SharedObject
 SharedObject ()
 Default constructor. More...
 SharedObject (const SharedObject &)
 Copy constructor. More...
virtual ~SharedObject ()
 Virtual destructor. More...
SharedObjectoperator= (const SharedObject &)
 Assignment. More...

Static Public Member Functions

static Ptr instance ()
 Allocating constructor. More...

Additional Inherited Members

- Public Types inherited from Rose::BinaryAnalysis::Partitioner2::FunctionPaddingMatcher
using Ptr = FunctionPaddingMatcherPtr
 Shared-ownership pointer to a FunctionPaddingMatcher. More...

Member Function Documentation

static Ptr Rose::BinaryAnalysis::Partitioner2::ModulesM68k::MatchFunctionPadding::instance ( )

Allocating constructor.

Definition at line 38 of file ModulesM68k.h.

virtual rose_addr_t Rose::BinaryAnalysis::Partitioner2::ModulesM68k::MatchFunctionPadding::match ( const PartitionerConstPtr ,
rose_addr_t  anchor 

Attempt to match padding.

Attempts to match function padding that ends at the address immediately prior to anchor. If a match is successful then the return value is the starting address for the padding and must be less than anchor. When no match is found then anchor is returned. The size of the matched padding is always anchor-retval where retval is the returned value.

Implements Rose::BinaryAnalysis::Partitioner2::FunctionPaddingMatcher.

The documentation for this class was generated from the following file: