Package ghidra.pcode.struct
Interface StructuredSleigh.Var
- All Superinterfaces:
StructuredSleigh.LVal
,StructuredSleigh.RVal
- Enclosing class:
StructuredSleigh
A Sleigh variable
-
Method Summary
Modifier and TypeMethodDescriptionCast the value to the given typegetName()
Get the name of the variable as it appears in generated Sleigh codeMethods inherited from interface ghidra.pcode.struct.StructuredSleigh.LVal
addiTo, addiTo, field, inc, index, index, set, set
Methods inherited from interface ghidra.pcode.struct.StructuredSleigh.RVal
addf, addi, addi, andb, andb, andi, andi, deref, deref, divf, divis, divis, diviu, diviu, eq, eq, eqf, getType, gtef, gteis, gteis, gteiu, gteiu, gtf, gtis, gtis, gtiu, gtiu, ltef, lteis, lteis, lteiu, lteiu, ltf, ltis, ltis, ltiu, ltiu, mulf, muli, muli, neq, neq, neqf, notb, noti, orb, orb, ori, ori, remis, remis, remiu, remiu, shli, shli, shris, shris, shriu, shriu, subf, subi, subi, xorb, xorb, xori, xori
-
Method Details
-
cast
Description copied from interface:StructuredSleigh.RVal
Cast the value to the given typeThis functions like a C-style pointer cast. There are no implied operations or conversions. Notably, casting between integers and floats is just a re-interpretation of the underlying bits.
- Specified by:
cast
in interfaceStructuredSleigh.LVal
- Specified by:
cast
in interfaceStructuredSleigh.RVal
- Parameters:
type
- the type- Returns:
- a handle to the resulting value
-
getName
String getName()Get the name of the variable as it appears in generated Sleigh code- Returns:
- the name
-