List of thunk predicates.
Definition at line 84 of file Thunk.h.
#include <Rose/BinaryAnalysis/Partitioner2/Thunk.h>
|
static Ptr | instance () |
| Allocating constructor.
|
|
static Ptr | allThunks () |
| Construct collective predicate with all built-in predicates.
|
|
static Ptr | functionMatcherThunks () |
| Construct collective predicate for matching thunks to create functions.
|
|
◆ Ptr
◆ ThunkPredicates()
Rose::BinaryAnalysis::Partitioner2::ThunkPredicates::ThunkPredicates |
( |
| ) |
|
|
inlineprotected |
◆ instance()
static Ptr Rose::BinaryAnalysis::Partitioner2::ThunkPredicates::instance |
( |
| ) |
|
|
inlinestatic |
Allocating constructor.
Definition at line 98 of file Thunk.h.
◆ allThunks()
static Ptr Rose::BinaryAnalysis::Partitioner2::ThunkPredicates::allThunks |
( |
| ) |
|
|
static |
Construct collective predicate with all built-in predicates.
Returns a collective predicate that contains all the built-in predicates known to this library.
◆ functionMatcherThunks()
static Ptr Rose::BinaryAnalysis::Partitioner2::ThunkPredicates::functionMatcherThunks |
( |
| ) |
|
|
static |
Construct collective predicate for matching thunks to create functions.
Constructs a collective predicate that contains individual predicates that are suitable for finding thunks when scanning memory to find new function prologues.
◆ predicates() [1/2]
const std::vector< ThunkPredicate > & Rose::BinaryAnalysis::Partitioner2::ThunkPredicates::predicates |
( |
| ) |
const |
|
inline |
Property: The list of predicates that will test for thunks.
Definition at line 116 of file Thunk.h.
◆ predicates() [2/2]
std::vector< ThunkPredicate > & Rose::BinaryAnalysis::Partitioner2::ThunkPredicates::predicates |
( |
| ) |
|
|
inline |
Property: The list of predicates that will test for thunks.
Definition at line 117 of file Thunk.h.
◆ isThunk()
Test whether instructions begin with a thunk.
Returns non-zero if the specified list of instructions begins with what appears to be a thunk. The return value is the number of leading instructions that are part of the thunk and the name of the thunk detector that matched. The determination is made by invoking each predicate from the predicates list in the order of that list and returning the value returned by the first predicate that returns non-zero.
The documentation for this class was generated from the following file: