ROSE  0.11.145.0
Public Types | Static Public Member Functions | List of all members
Rose::BinaryAnalysis::InstructionSemantics::SymbolicSemantics::Merger Class Reference

Description

Controls merging of symbolic values.

Definition at line 76 of file SymbolicSemantics.h.

#include <Rose/BinaryAnalysis/InstructionSemantics/SymbolicSemantics.h>

Inheritance diagram for Rose::BinaryAnalysis::InstructionSemantics::SymbolicSemantics::Merger:
Inheritance graph
[legend]
Collaboration diagram for Rose::BinaryAnalysis::InstructionSemantics::SymbolicSemantics::Merger:
Collaboration graph
[legend]

Public Types

typedef MergerPtr Ptr
 Shared-ownership pointer for a Merger object. More...
 
- Public Types inherited from Rose::BinaryAnalysis::InstructionSemantics::BaseSemantics::Merger
typedef MergerPtr Ptr
 Shared ownership pointer for Merger. More...
 

Public Member Functions

size_t setSizeLimit () const
 Property: Maximum set size. More...
 
void setSizeLimit (size_t n)
 Property: Maximum set size. More...
 
- Public Member Functions inherited from Rose::BinaryAnalysis::InstructionSemantics::BaseSemantics::Merger
bool memoryAddressesMayAlias () const
 Whether memory addresses can alias one another. More...
 
void memoryAddressesMayAlias (bool b)
 Whether memory addresses can alias one another. More...
 
bool memoryMergeDebugging () const
 Turn on output for memory merge debugging. More...
 
void memoryMergeDebugging (bool b)
 Turn on output for memory merge debugging. More...
 
- Public Member Functions inherited from Sawyer::SharedObject
 SharedObject ()
 Default constructor. More...
 
 SharedObject (const SharedObject &)
 Copy constructor. More...
 
virtual ~SharedObject ()
 Virtual destructor. More...
 
SharedObjectoperator= (const SharedObject &)
 Assignment. More...
 

Static Public Member Functions

static Ptr instance ()
 Allocating constructor. More...
 
static Ptr instance (size_t n)
 Allocating constructor. More...
 
- Static Public Member Functions inherited from Rose::BinaryAnalysis::InstructionSemantics::BaseSemantics::Merger
static Ptr instance ()
 Allocating constructor. More...
 

Member Typedef Documentation

Shared-ownership pointer for a Merger object.

Definition at line 83 of file SymbolicSemantics.h.

Member Function Documentation

static Ptr Rose::BinaryAnalysis::InstructionSemantics::SymbolicSemantics::Merger::instance ( )
inlinestatic

Allocating constructor.

Definition at line 86 of file SymbolicSemantics.h.

static Ptr Rose::BinaryAnalysis::InstructionSemantics::SymbolicSemantics::Merger::instance ( size_t  n)
inlinestatic

Allocating constructor.

Definition at line 91 of file SymbolicSemantics.h.

size_t Rose::BinaryAnalysis::InstructionSemantics::SymbolicSemantics::Merger::setSizeLimit ( ) const
inline

Property: Maximum set size.

The maximum number of members in a set when merging two expressions. For instance, when merging expressions "x" and "y" with a limit of one (the default), the return value is bottom, but if the size limit is two or more, the return value is (set x y). Merging two sets (or a set and a singlton) works the same way: if the union of the two sets is larger than the size limit then bottom is returned, otherwise the union is returned.

A limit of zero has the same effect as a limit of one since a singleton set is represented by just the naked member (that is, (set x) gets simplified to just x).

Definition at line 108 of file SymbolicSemantics.h.

void Rose::BinaryAnalysis::InstructionSemantics::SymbolicSemantics::Merger::setSizeLimit ( size_t  n)
inline

Property: Maximum set size.

The maximum number of members in a set when merging two expressions. For instance, when merging expressions "x" and "y" with a limit of one (the default), the return value is bottom, but if the size limit is two or more, the return value is (set x y). Merging two sets (or a set and a singlton) works the same way: if the union of the two sets is larger than the size limit then bottom is returned, otherwise the union is returned.

A limit of zero has the same effect as a limit of one since a singleton set is represented by just the naked member (that is, (set x) gets simplified to just x).

Definition at line 109 of file SymbolicSemantics.h.


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