Class MinusExpressionSolver
- java.lang.Object
-
- ghidra.app.plugin.assembler.sleigh.expr.AbstractExpressionSolver<T>
-
- ghidra.app.plugin.assembler.sleigh.expr.AbstractUnaryExpressionSolver<MinusExpression>
-
- ghidra.app.plugin.assembler.sleigh.expr.MinusExpressionSolver
-
public class MinusExpressionSolver extends AbstractUnaryExpressionSolver<MinusExpression>
Solves expressions of the form -A
-
-
Field Summary
-
Fields inherited from class ghidra.app.plugin.assembler.sleigh.expr.AbstractExpressionSolver
dbg, solver
-
-
Constructor Summary
Constructors Constructor Description MinusExpressionSolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MaskedLong
compute(MaskedLong val)
Compute the result of applying the operator to the given value-
Methods inherited from class ghidra.app.plugin.assembler.sleigh.expr.AbstractUnaryExpressionSolver
computeInverse, getInstructionLength, getValue, solve, valueForResolution
-
Methods inherited from class ghidra.app.plugin.assembler.sleigh.expr.AbstractExpressionSolver
register
-
-
-
-
Method Detail
-
compute
public MaskedLong compute(MaskedLong val)
Description copied from class:AbstractUnaryExpressionSolver
Compute the result of applying the operator to the given value- Specified by:
compute
in classAbstractUnaryExpressionSolver<MinusExpression>
- Parameters:
val
- the input value- Returns:
- the result
-
-