Public Member Functions | Public Attributes | List of all members
Rose::BinaryAnalysis::Partitioner2::ThunkDetection Struct Reference


Return type for thunk detectors.

Returns the number of instructions in the thunk, and the name of the pattern that matched those instructions. If no thunk is detected then the size will be zero and the string is empty.

Definition at line 22 of file Thunk.h.

#include <Thunk.h>

Collaboration diagram for Rose::BinaryAnalysis::Partitioner2::ThunkDetection:
Collaboration graph

Public Member Functions

 ThunkDetection ()
 Constructor for detecting no thunk. More...
 ThunkDetection (size_t nInsns, const std::string &name)
 Constructor for a detected thunk. More...
 operator unspecified_bool () const

Public Attributes

size_t nInsns
 Number of instructions that are part of the thunk. More...
std::string name
 Name of the pattern that matched the instructions. More...

Constructor & Destructor Documentation

Rose::BinaryAnalysis::Partitioner2::ThunkDetection::ThunkDetection ( )

Constructor for detecting no thunk.

Definition at line 27 of file Thunk.h.

Rose::BinaryAnalysis::Partitioner2::ThunkDetection::ThunkDetection ( size_t  nInsns,
const std::string &  name 

Constructor for a detected thunk.

Definition at line 31 of file Thunk.h.

Member Data Documentation

size_t Rose::BinaryAnalysis::Partitioner2::ThunkDetection::nInsns

Number of instructions that are part of the thunk.

Definition at line 23 of file Thunk.h.

std::string Rose::BinaryAnalysis::Partitioner2::ThunkDetection::name

Name of the pattern that matched the instructions.

Definition at line 24 of file Thunk.h.

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