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

Description

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 23 of file Thunk.h.

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

Collaboration diagram for Rose::BinaryAnalysis::Partitioner2::ThunkDetection:
Collaboration graph
[legend]

Public Member Functions

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

Public Attributes

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

Constructor & Destructor Documentation

◆ ThunkDetection() [1/2]

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

Constructor for detecting no thunk.

Definition at line 28 of file Thunk.h.

◆ ThunkDetection() [2/2]

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

Constructor for a detected thunk.

Definition at line 32 of file Thunk.h.

Member Function Documentation

◆ operator unspecified_bool()

Rose::BinaryAnalysis::Partitioner2::ThunkDetection::operator unspecified_bool ( ) const
inline

Definition at line 40 of file Thunk.h.

Member Data Documentation

◆ nInsns

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

Number of instructions that are part of the thunk.

Definition at line 24 of file Thunk.h.

◆ name

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

Name of the pattern that matched the instructions.

Definition at line 25 of file Thunk.h.


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