1#ifndef ROSE_BinaryAnalysis_Partitioner2_ModulesPowerpc_H
2#define ROSE_BinaryAnalysis_Partitioner2_ModulesPowerpc_H
3#include <featureTests.h>
4#ifdef ROSE_ENABLE_BINARY_ANALYSIS
5#include <Rose/BinaryAnalysis/Partitioner2/Modules.h>
7#include <boost/logic/tribool.hpp>
10namespace BinaryAnalysis {
11namespace Partitioner2 {
14namespace ModulesPowerpc {
27 virtual std::vector<FunctionPtr>
functions()
const override;
14namespace ModulesPowerpc {
…}
Base class for matching function prologues.
Matches a PowerPC function prolog using STWU.
static Ptr instance()
Allocating constructor.
virtual std::vector< FunctionPtr > functions() const override
Returns the function(s) for the previous successful match.
virtual bool match(const PartitionerConstPtr &, Address anchor) override
Attempt to match an instruction pattern.
Holds a value or nothing.
Represents an interpretation of a binary container.
boost::logic::tribool isFunctionReturn(const PartitionerConstPtr &, const BasicBlockPtr &)
Determines whether basic block is a function return.
void nameImportThunks(const PartitionerConstPtr &, SgAsmInterpretation *)
Give names to thunks for dynamically linked functions.
Sawyer::Optional< Address > matchElfDynamicStub(const PartitionerConstPtr &, const FunctionPtr &, const AddressIntervalSet &pltAddresses)
Matches a PowerPC ELF dynamic function stub.
std::uint64_t Address
Address.