ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Partitioner::FindPostFunctionInsns Struct Reference

Callback to add post-function instructions to the preceding function. More...

#include <Partitioner.h>

Inheritance diagram for Partitioner::FindPostFunctionInsns:
Collaboration diagram for Partitioner::FindPostFunctionInsns:

Public Member Functions

 FindPostFunctionInsns ()
 
virtual bool operator() (bool enabled, const Args &args)
 The actual callback function. More...
 
- Public Member Functions inherited from Partitioner::InsnRangeCallback
virtual ~InsnRangeCallback ()
 

Public Attributes

size_t nfound
 Number of basic blocks added to functions by this callback. More...
 

Detailed Description

Callback to add post-function instructions to the preceding function.

Any instructions that immediately follow a normal function (anything but FUNC_INTERPAD or FUNC_THUNK) but are not assigned to any function are added to that function as instructions. This should be called after inter-function padding has been discovered, or else the padding will end up as part of the same data block.

See also FindData. It probably doesn't make sense to use both.

Note: This is highly experimental. [RPM 2011-09-22]

Definition at line 1392 of file Partitioner.h.

Constructor & Destructor Documentation

Partitioner::FindPostFunctionInsns::FindPostFunctionInsns ( )
inline

Definition at line 1395 of file Partitioner.h.

Member Function Documentation

Member Data Documentation

size_t Partitioner::FindPostFunctionInsns::nfound

Number of basic blocks added to functions by this callback.

Definition at line 1393 of file Partitioner.h.


The documentation for this struct was generated from the following files: