ROSE 0.11.145.192
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
Rose::BinaryAnalysis::PointerDetection::PointerDescriptor Class Reference

Description

Description of one pointer.

Definition at line 174 of file PointerDetection.h.

#include <Rose/BinaryAnalysis/PointerDetection.h>

Collaboration diagram for Rose::BinaryAnalysis::PointerDetection::PointerDescriptor:
Collaboration graph
[legend]

Classes

struct  Access
 Description of accessing memory. More...
 

Public Types

enum  Direction {
  READ ,
  WRITE
}
 Information about how a pointer is dereferenced. More...
 

Public Member Functions

 PointerDescriptor (const SymbolicExpression::Ptr &pointerVa, size_t nBits, rose_addr_t insnVa, Direction dir, const SymbolicExpression::Ptr &pointerValue)
 

Public Attributes

SymbolicExpression::Ptr pointerVa
 Symbolic address where pointer variable is stored.
 
size_t nBits
 Width of pointer in bits.
 
std::set< AccesspointerAccesses
 Where pointer variable's value was accessed.
 
std::set< Accessdereferences
 Where pointer was dereferenced.
 

Member Enumeration Documentation

◆ Direction

Information about how a pointer is dereferenced.

Enumerator
READ 

Pointer is used to read from memory.

WRITE 

Pointer is used to write to memory.

Definition at line 177 of file PointerDetection.h.

Constructor & Destructor Documentation

◆ PointerDescriptor()

Rose::BinaryAnalysis::PointerDetection::PointerDescriptor::PointerDescriptor ( const SymbolicExpression::Ptr pointerVa,
size_t  nBits,
rose_addr_t  insnVa,
Direction  dir,
const SymbolicExpression::Ptr pointerValue 
)
inline

Definition at line 209 of file PointerDetection.h.

Member Data Documentation

◆ pointerVa

SymbolicExpression::Ptr Rose::BinaryAnalysis::PointerDetection::PointerDescriptor::pointerVa

Symbolic address where pointer variable is stored.

Definition at line 204 of file PointerDetection.h.

◆ nBits

size_t Rose::BinaryAnalysis::PointerDetection::PointerDescriptor::nBits

Width of pointer in bits.

Definition at line 205 of file PointerDetection.h.

◆ pointerAccesses

std::set<Access> Rose::BinaryAnalysis::PointerDetection::PointerDescriptor::pointerAccesses

Where pointer variable's value was accessed.

Definition at line 206 of file PointerDetection.h.

◆ dereferences

std::set<Access> Rose::BinaryAnalysis::PointerDetection::PointerDescriptor::dereferences

Where pointer was dereferenced.

Definition at line 207 of file PointerDetection.h.


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