Package ghidra.pcode.struct
Class RawExpr
java.lang.Object
ghidra.pcode.struct.Expr
ghidra.pcode.struct.RawExpr
- All Implemented Interfaces:
StructuredSleigh.RVal
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondefault StructuredSleigh.RValGenerate float additiondefault StructuredSleigh.RValaddi(long rhs) Generate integer additiondefault StructuredSleigh.RValGenerate integer additiondefault StructuredSleigh.RValandb(long rhs) Generate boolean anddefault StructuredSleigh.RValGenerate boolean anddefault StructuredSleigh.RValandi(long rhs) Generate an integer (bitwise) anddefault StructuredSleigh.RValGenerate an integer (bitwise) andCast the value to the given typedefault StructuredSleigh.LValderef()Generate a dereference (in the C sense) in the default address spacedefault StructuredSleigh.LValderef(AddressSpace space) Generate a dereference (in the C sense)default StructuredSleigh.RValGenerate float divisiondefault StructuredSleigh.RValdivis(long rhs) Generate signed integer divisiondefault StructuredSleigh.RValGenerate signed integer divisiondefault StructuredSleigh.RValdiviu(long rhs) Generate unsigned integer divisiondefault StructuredSleigh.RValGenerate unsigned integer divisiondefault StructuredSleigh.RValeq(long rhs) Generate integer comparison: equal todefault StructuredSleigh.RValeq(StructuredSleigh.RVal rhs) Generate integer comparison: equal todefault StructuredSleigh.RValeqf(StructuredSleigh.RVal rhs) Generate float comparison: equal togenerate(ghidra.pcode.struct.RValInternal parent) default StructuredSleigh.RValGenerate float comparison: greater than or equal todefault StructuredSleigh.RValgteis(long rhs) Generate signed integer comparison: greater than or equal todefault StructuredSleigh.RValGenerate signed integer comparison: greater than or equal todefault StructuredSleigh.RValgteiu(long rhs) Generate unsigned integer comparison: greater than or equal todefault StructuredSleigh.RValGenerate unsigned integer comparison: greater than or equal todefault StructuredSleigh.RValgtf(StructuredSleigh.RVal rhs) Generate float comparison: greater thandefault StructuredSleigh.RValgtis(long rhs) Generate signed integer comparison: greater thandefault StructuredSleigh.RValGenerate signed integer comparison: greater thandefault StructuredSleigh.RValgtiu(long rhs) Generate unsigned integer comparison: greater thandefault StructuredSleigh.RValGenerate unsigned integer comparison: greater thandefault StructuredSleigh.RValGenerate float comparison: less than or equal todefault StructuredSleigh.RVallteis(long rhs) Generate signed integer comparison: less than or equal todefault StructuredSleigh.RValGenerate signed integer comparison: less than or equal todefault StructuredSleigh.RVallteiu(long rhs) Generate unsigned integer comparison: less than or equal todefault StructuredSleigh.RValGenerate unsigned integer comparison: less than or equal todefault StructuredSleigh.RValltf(StructuredSleigh.RVal rhs) Generate unsigned integer comparison: less thandefault StructuredSleigh.RValltis(long rhs) Generate signed integer comparison: less thandefault StructuredSleigh.RValGenerate signed integer comparison: less thandefault StructuredSleigh.RValltiu(long rhs) Generate unsigned integer comparison: less thandefault StructuredSleigh.RValGenerate unsigned integer comparison: less thandefault StructuredSleigh.RValGenerate float multiplicationdefault StructuredSleigh.RValmuli(long rhs) Generate integer multiplicationdefault StructuredSleigh.RValGenerate integer multiplicationdefault StructuredSleigh.RValneq(long rhs) Generate integer comparison: not equal todefault StructuredSleigh.RValneq(StructuredSleigh.RVal rhs) Generate integer comparison: not equal todefault StructuredSleigh.RValGenerate float comparison: not equal todefault StructuredSleigh.RValnotb()Generate boolean inversiondefault StructuredSleigh.RValnoti()Generate integer (bitwise) inversiondefault StructuredSleigh.RValorb(long rhs) Generate boolean ordefault StructuredSleigh.RValorb(StructuredSleigh.RVal rhs) Generate boolean ordefault StructuredSleigh.RValori(long rhs) Generate an integer (bitwise) ordefault StructuredSleigh.RValori(StructuredSleigh.RVal rhs) Generate an integer (bitwise) ordefault StructuredSleigh.RValremis(long rhs) Generate signed integer division remainderdefault StructuredSleigh.RValGenerate signed integer division remainderdefault StructuredSleigh.RValremiu(long rhs) Generate unsigned integer division remainderdefault StructuredSleigh.RValGenerate unsigned integer division remainderdefault StructuredSleigh.RValshli(long rhs) Generate bit shift to the leftdefault StructuredSleigh.RValGenerate bit shift to the leftdefault StructuredSleigh.RValshris(long rhs) Generate signed bit shift to the rightdefault StructuredSleigh.RValGenerate signed bit shift to the rightdefault StructuredSleigh.RValshriu(long rhs) Generate unsigned bit shift to the rightdefault StructuredSleigh.RValGenerate unsigned bit shift to the rightdefault StructuredSleigh.RValGenerate float subtractiondefault StructuredSleigh.RValsubi(long rhs) Generate integer subtraction of an immediatedefault StructuredSleigh.RValGenerate integer subtractiondefault StructuredSleigh.RValxorb(long rhs) Generate boolean exclusive ordefault StructuredSleigh.RValGenerate boolean exclusive ordefault StructuredSleigh.RValxori(long rhs) Generate an integer (bitwise) exclusive ordefault StructuredSleigh.RValGenerate an integer (bitwise) exclusive orMethods inherited from class ghidra.pcode.struct.Expr
getContext, getType
-
Constructor Details
-
RawExpr
-
-
Method Details
-
cast
Description copied from interface:StructuredSleigh.RValCast 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.
- Parameters:
type- the type- Returns:
- a handle to the resulting value
-
generate
-
deref
Description copied from interface:StructuredSleigh.RValGenerate a dereference (in the C sense) in the default address space- Specified by:
derefin interfaceStructuredSleigh.RVal- Returns:
- a handle to the resulting value
-
deref
Description copied from interface:StructuredSleigh.RValGenerate a dereference (in the C sense)The value is treated as an address, and the result is essentially a variable in the given target address space.
- Specified by:
derefin interfaceStructuredSleigh.RVal- Parameters:
space- the address space of the result- Returns:
- a handle to the resulting value
-
notb
Description copied from interface:StructuredSleigh.RValGenerate boolean inversion- Specified by:
notbin interfaceStructuredSleigh.RVal- Returns:
- a handle to the resulting value
-
noti
Description copied from interface:StructuredSleigh.RValGenerate integer (bitwise) inversion- Specified by:
notiin interfaceStructuredSleigh.RVal- Returns:
- a handle to the resulting value
-
eq
Description copied from interface:StructuredSleigh.RValGenerate integer comparison: equal to- Specified by:
eqin interfaceStructuredSleigh.RVal- Parameters:
rhs- the second operand- Returns:
- a handle to the resulting value
-
eq
Description copied from interface:StructuredSleigh.RValGenerate integer comparison: equal to- Specified by:
eqin interfaceStructuredSleigh.RVal- Parameters:
rhs- the immediate operand- Returns:
- a handle to the resulting value
-
eqf
Description copied from interface:StructuredSleigh.RValGenerate float comparison: equal to- Specified by:
eqfin interfaceStructuredSleigh.RVal- Parameters:
rhs- the second operand- Returns:
- a handle to the resulting value
-
neq
Description copied from interface:StructuredSleigh.RValGenerate integer comparison: not equal to- Specified by:
neqin interfaceStructuredSleigh.RVal- Parameters:
rhs- the second operand- Returns:
- a handle to the resulting value
-
neq
Description copied from interface:StructuredSleigh.RValGenerate integer comparison: not equal to- Specified by:
neqin interfaceStructuredSleigh.RVal- Parameters:
rhs- the immediate operand- Returns:
- a handle to the resulting value
-
neqf
Description copied from interface:StructuredSleigh.RValGenerate float comparison: not equal to- Specified by:
neqfin interfaceStructuredSleigh.RVal- Parameters:
rhs- the second operand- Returns:
- a handle to the resulting value
-
ltiu
Description copied from interface:StructuredSleigh.RValGenerate unsigned integer comparison: less than- Specified by:
ltiuin interfaceStructuredSleigh.RVal- Parameters:
rhs- the second operand- Returns:
- a handle to the resulting value
-
ltiu
Description copied from interface:StructuredSleigh.RValGenerate unsigned integer comparison: less than- Specified by:
ltiuin interfaceStructuredSleigh.RVal- Parameters:
rhs- the immediate operand- Returns:
- a handle to the resulting value
-
ltis
Description copied from interface:StructuredSleigh.RValGenerate signed integer comparison: less than- Specified by:
ltisin interfaceStructuredSleigh.RVal- Parameters:
rhs- the second operand- Returns:
- a handle to the resulting value
-
ltis
Description copied from interface:StructuredSleigh.RValGenerate signed integer comparison: less than- Specified by:
ltisin interfaceStructuredSleigh.RVal- Parameters:
rhs- the immediate operand- Returns:
- a handle to the resulting value
-
ltf
Description copied from interface:StructuredSleigh.RValGenerate unsigned integer comparison: less than- Specified by:
ltfin interfaceStructuredSleigh.RVal- Parameters:
rhs- the second operand- Returns:
- a handle to the resulting value
-
gtiu
Description copied from interface:StructuredSleigh.RValGenerate unsigned integer comparison: greater than- Specified by:
gtiuin interfaceStructuredSleigh.RVal- Parameters:
rhs- the second operand- Returns:
- a handle to the resulting value
-
gtiu
Description copied from interface:StructuredSleigh.RValGenerate unsigned integer comparison: greater than- Specified by:
gtiuin interfaceStructuredSleigh.RVal- Parameters:
rhs- the immediate operand- Returns:
- a handle to the resulting value
-
gtis
Description copied from interface:StructuredSleigh.RValGenerate signed integer comparison: greater than- Specified by:
gtisin interfaceStructuredSleigh.RVal- Parameters:
rhs- the second operand- Returns:
- a handle to the resulting value
-
gtis
Description copied from interface:StructuredSleigh.RValGenerate signed integer comparison: greater than- Specified by:
gtisin interfaceStructuredSleigh.RVal- Parameters:
rhs- the immediate operand- Returns:
- a handle to the resulting value
-
gtf
Description copied from interface:StructuredSleigh.RValGenerate float comparison: greater than- Specified by:
gtfin interfaceStructuredSleigh.RVal- Parameters:
rhs- the second operand- Returns:
- a handle to the resulting value
-
lteiu
Description copied from interface:StructuredSleigh.RValGenerate unsigned integer comparison: less than or equal to- Specified by:
lteiuin interfaceStructuredSleigh.RVal- Parameters:
rhs- the second operand- Returns:
- a handle to the resulting value
-
lteiu
Description copied from interface:StructuredSleigh.RValGenerate unsigned integer comparison: less than or equal to- Specified by:
lteiuin interfaceStructuredSleigh.RVal- Parameters:
rhs- the immediate operand- Returns:
- a handle to the resulting value
-
lteis
Description copied from interface:StructuredSleigh.RValGenerate signed integer comparison: less than or equal to- Specified by:
lteisin interfaceStructuredSleigh.RVal- Parameters:
rhs- the second operand- Returns:
- a handle to the resulting value
-
lteis
Description copied from interface:StructuredSleigh.RValGenerate signed integer comparison: less than or equal to- Specified by:
lteisin interfaceStructuredSleigh.RVal- Parameters:
rhs- the immediate operand- Returns:
- a handle to the resulting value
-
ltef
Description copied from interface:StructuredSleigh.RValGenerate float comparison: less than or equal to- Specified by:
ltefin interfaceStructuredSleigh.RVal- Parameters:
rhs- the second operand- Returns:
- a handle to the resulting value
-
gteiu
Description copied from interface:StructuredSleigh.RValGenerate unsigned integer comparison: greater than or equal to- Specified by:
gteiuin interfaceStructuredSleigh.RVal- Parameters:
rhs- the second operand- Returns:
- a handle to the resulting value
-
gteiu
Description copied from interface:StructuredSleigh.RValGenerate unsigned integer comparison: greater than or equal to- Specified by:
gteiuin interfaceStructuredSleigh.RVal- Parameters:
rhs- the immediate operand- Returns:
- a handle to the resulting value
-
gteis
Description copied from interface:StructuredSleigh.RValGenerate signed integer comparison: greater than or equal to- Specified by:
gteisin interfaceStructuredSleigh.RVal- Parameters:
rhs- the second operand- Returns:
- a handle to the resulting value
-
gteis
Description copied from interface:StructuredSleigh.RValGenerate signed integer comparison: greater than or equal to- Specified by:
gteisin interfaceStructuredSleigh.RVal- Parameters:
rhs- the immediate operand- Returns:
- a handle to the resulting value
-
gtef
Description copied from interface:StructuredSleigh.RValGenerate float comparison: greater than or equal to- Specified by:
gtefin interfaceStructuredSleigh.RVal- Parameters:
rhs- the second operand- Returns:
- a handle to the resulting value
-
orb
Description copied from interface:StructuredSleigh.RValGenerate boolean or- Specified by:
orbin interfaceStructuredSleigh.RVal- Parameters:
rhs- the second operand- Returns:
- a handle to the resulting value
-
orb
Description copied from interface:StructuredSleigh.RValGenerate boolean or- Specified by:
orbin interfaceStructuredSleigh.RVal- Parameters:
rhs- the immediate operand- Returns:
- a handle to the resulting value
-
ori
Description copied from interface:StructuredSleigh.RValGenerate an integer (bitwise) or- Specified by:
oriin interfaceStructuredSleigh.RVal- Parameters:
rhs- the second operand- Returns:
- a handle to the resulting value
-
ori
Description copied from interface:StructuredSleigh.RValGenerate an integer (bitwise) or- Specified by:
oriin interfaceStructuredSleigh.RVal- Parameters:
rhs- the immediate operand- Returns:
- a handle to the resulting value
-
xorb
Description copied from interface:StructuredSleigh.RValGenerate boolean exclusive or- Specified by:
xorbin interfaceStructuredSleigh.RVal- Parameters:
rhs- the second operand- Returns:
- a handle to the resulting value
-
xorb
Description copied from interface:StructuredSleigh.RValGenerate boolean exclusive or- Specified by:
xorbin interfaceStructuredSleigh.RVal- Parameters:
rhs- the immediate operand- Returns:
- a handle to the resulting value
-
xori
Description copied from interface:StructuredSleigh.RValGenerate an integer (bitwise) exclusive or- Specified by:
xoriin interfaceStructuredSleigh.RVal- Parameters:
rhs- the second operand- Returns:
- a handle to the resulting value
-
xori
Description copied from interface:StructuredSleigh.RValGenerate an integer (bitwise) exclusive or- Specified by:
xoriin interfaceStructuredSleigh.RVal- Parameters:
rhs- the immediate operand- Returns:
- a handle to the resulting value
-
andb
Description copied from interface:StructuredSleigh.RValGenerate boolean and- Specified by:
andbin interfaceStructuredSleigh.RVal- Parameters:
rhs- the second operand- Returns:
- a handle to the resulting value
-
andb
Description copied from interface:StructuredSleigh.RValGenerate boolean and- Specified by:
andbin interfaceStructuredSleigh.RVal- Parameters:
rhs- the immediate operand- Returns:
- a handle to the resulting value
-
andi
Description copied from interface:StructuredSleigh.RValGenerate an integer (bitwise) and- Specified by:
andiin interfaceStructuredSleigh.RVal- Parameters:
rhs- the second operand- Returns:
- a handle to the resulting value
-
andi
Description copied from interface:StructuredSleigh.RValGenerate an integer (bitwise) and- Specified by:
andiin interfaceStructuredSleigh.RVal- Parameters:
rhs- the immediate operand (mask)- Returns:
- a handle to the resulting value
-
shli
Description copied from interface:StructuredSleigh.RValGenerate bit shift to the left- Specified by:
shliin interfaceStructuredSleigh.RVal- Parameters:
rhs- the second operand (shift amount)- Returns:
- a handle to the resulting value
-
shli
Description copied from interface:StructuredSleigh.RValGenerate bit shift to the left- Specified by:
shliin interfaceStructuredSleigh.RVal- Parameters:
rhs- the immediate operand (shift amount)- Returns:
- a handle to the resulting value
-
shriu
Description copied from interface:StructuredSleigh.RValGenerate unsigned bit shift to the right- Specified by:
shriuin interfaceStructuredSleigh.RVal- Parameters:
rhs- the second operand (shift amount)- Returns:
- a handle to the resulting value
-
shriu
Description copied from interface:StructuredSleigh.RValGenerate unsigned bit shift to the right- Specified by:
shriuin interfaceStructuredSleigh.RVal- Parameters:
rhs- the immediate operand (shift amount)- Returns:
- a handle to the resulting value
-
shris
Description copied from interface:StructuredSleigh.RValGenerate signed bit shift to the right- Specified by:
shrisin interfaceStructuredSleigh.RVal- Parameters:
rhs- the second operand (shift amount)- Returns:
- a handle to the resulting value
-
shris
Description copied from interface:StructuredSleigh.RValGenerate signed bit shift to the right- Specified by:
shrisin interfaceStructuredSleigh.RVal- Parameters:
rhs- the immediate operand (shift amount)- Returns:
- a handle to the resulting value
-
addi
Description copied from interface:StructuredSleigh.RValGenerate integer addition- Specified by:
addiin interfaceStructuredSleigh.RVal- Parameters:
rhs- the second operand- Returns:
- a handle to the resulting value
-
addi
Description copied from interface:StructuredSleigh.RValGenerate integer addition- Specified by:
addiin interfaceStructuredSleigh.RVal- Parameters:
rhs- the immediate operand- Returns:
- a handle to the resulting value
-
addf
Description copied from interface:StructuredSleigh.RValGenerate float addition- Specified by:
addfin interfaceStructuredSleigh.RVal- Parameters:
rhs- the second operand- Returns:
- a handle to the resulting value
-
subi
Description copied from interface:StructuredSleigh.RValGenerate integer subtraction- Specified by:
subiin interfaceStructuredSleigh.RVal- Parameters:
rhs- the second operand- Returns:
- a handle to the resulting value
-
subi
Description copied from interface:StructuredSleigh.RValGenerate integer subtraction of an immediate- Specified by:
subiin interfaceStructuredSleigh.RVal- Parameters:
rhs- the immediate operand- Returns:
- a handle to the resulting value
-
subf
Description copied from interface:StructuredSleigh.RValGenerate float subtraction- Specified by:
subfin interfaceStructuredSleigh.RVal- Parameters:
rhs- the second operand- Returns:
- a handle to the resulting value
-
muli
Description copied from interface:StructuredSleigh.RValGenerate integer multiplication- Specified by:
muliin interfaceStructuredSleigh.RVal- Parameters:
rhs- the second operand- Returns:
- a handle to the resulting value
-
muli
Description copied from interface:StructuredSleigh.RValGenerate integer multiplication- Specified by:
muliin interfaceStructuredSleigh.RVal- Parameters:
rhs- the immediate operand- Returns:
- a handle to the resulting value
-
mulf
Description copied from interface:StructuredSleigh.RValGenerate float multiplication- Specified by:
mulfin interfaceStructuredSleigh.RVal- Parameters:
rhs- the second operand- Returns:
- a handle to the resulting value
-
diviu
Description copied from interface:StructuredSleigh.RValGenerate unsigned integer division- Specified by:
diviuin interfaceStructuredSleigh.RVal- Parameters:
rhs- the divisor- Returns:
- a handle to the resulting value
-
diviu
Description copied from interface:StructuredSleigh.RValGenerate unsigned integer division- Specified by:
diviuin interfaceStructuredSleigh.RVal- Parameters:
rhs- the immediate divisor- Returns:
- a handle to the resulting value
-
divis
Description copied from interface:StructuredSleigh.RValGenerate signed integer division- Specified by:
divisin interfaceStructuredSleigh.RVal- Parameters:
rhs- the divisor- Returns:
- a handle to the resulting value
-
divis
Description copied from interface:StructuredSleigh.RValGenerate signed integer division- Specified by:
divisin interfaceStructuredSleigh.RVal- Parameters:
rhs- the immediate divisor- Returns:
- a handle to the resulting value
-
divf
Description copied from interface:StructuredSleigh.RValGenerate float division- Specified by:
divfin interfaceStructuredSleigh.RVal- Parameters:
rhs- the divisor- Returns:
- a handle to the resulting value
-
remiu
Description copied from interface:StructuredSleigh.RValGenerate unsigned integer division remainder- Specified by:
remiuin interfaceStructuredSleigh.RVal- Parameters:
rhs- the divisor- Returns:
- a handle to the resulting value
-
remiu
Description copied from interface:StructuredSleigh.RValGenerate unsigned integer division remainder- Specified by:
remiuin interfaceStructuredSleigh.RVal- Parameters:
rhs- the immediate divisor- Returns:
- a handle to the resulting value
-
remis
Description copied from interface:StructuredSleigh.RValGenerate signed integer division remainder- Specified by:
remisin interfaceStructuredSleigh.RVal- Parameters:
rhs- the divisor- Returns:
- a handle to the resulting value
-
remis
Description copied from interface:StructuredSleigh.RValGenerate signed integer division remainder- Specified by:
remisin interfaceStructuredSleigh.RVal- Parameters:
rhs- the immediate divisor- Returns:
- a handle to the resulting value
-