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

Description

Matches M68k function padding.

Definition at line 26 of file ModulesM68k.h.

#include <ModulesM68k.h>

Inheritance diagram for Rose::BinaryAnalysis::Partitioner2::ModulesM68k::MatchFunctionPadding:
Inheritance graph
[legend]
Collaboration diagram for Rose::BinaryAnalysis::Partitioner2::ModulesM68k::MatchFunctionPadding:
Collaboration graph
[legend]

Public Member Functions

virtual rose_addr_t match (const Partitioner &, rose_addr_t anchor) ROSE_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
typedef Sawyer::SharedPointer< FunctionPaddingMatcherPtr
 Shared-ownership pointer to a FunctionPaddingMatcher. More...
 

Member Function Documentation

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

Allocating constructor.

Definition at line 29 of file ModulesM68k.h.

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

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: