GTIRB  v2.2.0
GrammaTech Intermediate Representation for Binaries: C++ API
Public Attributes | Friends | List of all members
gtirb::SymAddrAddr Struct Reference

Represents a symbolic operand of the form "(Sym1 - Sym2) / Scale + Offset". More...

#include <SymbolicExpression.hpp>

Collaboration diagram for gtirb::SymAddrAddr:
Collaboration graph
[legend]

Public Attributes

SymAttributeSet Attributes = SymAttributeSet()
 
int64_t Offset
 Constant offset. More...
 
int64_t Scale
 Constant scale factor. More...
 
SymbolSym1
 Symbol representing the base address. More...
 
SymbolSym2
 Symbol to subtract from Sym1. More...
 

Friends

bool operator!= (const SymAddrAddr &LHS, const SymAddrAddr &RHS)
 
bool operator== (const SymAddrAddr &LHS, const SymAddrAddr &RHS)
 

Detailed Description

Represents a symbolic operand of the form "(Sym1 - Sym2) / Scale + Offset".

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( const SymAddrAddr LHS,
const SymAddrAddr RHS 
)
friend

◆ operator==

bool operator== ( const SymAddrAddr LHS,
const SymAddrAddr RHS 
)
friend

Member Data Documentation

◆ Attributes

SymAttributeSet gtirb::SymAddrAddr::Attributes = SymAttributeSet()

◆ Offset

int64_t gtirb::SymAddrAddr::Offset

Constant offset.

◆ Scale

int64_t gtirb::SymAddrAddr::Scale

Constant scale factor.

◆ Sym1

Symbol* gtirb::SymAddrAddr::Sym1

Symbol representing the base address.

◆ Sym2

Symbol* gtirb::SymAddrAddr::Sym2

Symbol to subtract from Sym1.


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