decompiler  1.0.0
Static Public Member Functions | Public Attributes | List of all members
ghidra::StackEqn Struct Reference

A stack equation. More...

Static Public Member Functions

static bool compare (const StackEqn &a, const StackEqn &b)
 Order two equations. More...
 

Public Attributes

int4 var1
 Variable with 1 coefficient.
 
int4 var2
 Variable with -1 coefficient.
 
int4 rhs
 Right hand side of the equation.
 

Detailed Description

A stack equation.

Member Function Documentation

◆ compare()

bool ghidra::StackEqn::compare ( const StackEqn a,
const StackEqn b 
)
static

Order two equations.

Parameters
ais the first equation to compare
bis the second
Returns
true if the first equation comes before the second

References var1.

Referenced by ghidra::StackSolver::duplicate(), and ghidra::StackSolver::propagate().


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