Package ghidra.pcode.opbehavior
Class OpBehaviorIntZext
java.lang.Object
ghidra.pcode.opbehavior.OpBehavior
ghidra.pcode.opbehavior.UnaryOpBehavior
ghidra.pcode.opbehavior.OpBehaviorIntZext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongevaluateUnary(int sizeout, int sizein, long in1) Evaluate the unary operation using long dataevaluateUnary(int sizeout, int sizein, BigInteger in1) Evaluate the unary operation using BigInteger dataMethods inherited from class ghidra.pcode.opbehavior.OpBehavior
getOpCode
-
Constructor Details
-
OpBehaviorIntZext
public OpBehaviorIntZext()
-
-
Method Details
-
evaluateUnary
public long evaluateUnary(int sizeout, int sizein, long in1) Description copied from class:UnaryOpBehaviorEvaluate the unary operation using long data- Specified by:
evaluateUnaryin classUnaryOpBehavior- Parameters:
sizeout- intended output size (bytes)sizein- in1 size (bytes)in1- unsigned input 1- Returns:
- operation result. NOTE: if the operation overflows bits may be set beyond the specified sizeout. Even though results should be treated as unsigned it may be returned as a signed long value. It is expected that the returned result always be properly truncated by the caller since the evaluation may not - this is done to conserve emulation cycles.
- See Also:
-
evaluateUnary
Description copied from class:UnaryOpBehaviorEvaluate the unary operation using BigInteger data- Specified by:
evaluateUnaryin classUnaryOpBehavior- Parameters:
sizeout- intended output size (bytes)sizein- in1 size (bytes)in1- unsigned input 1- Returns:
- operation result. NOTE: if the operation overflows bits may be set beyond the specified sizeout. Even though results should be treated as unsigned it may be returned as a signed value. It is expected that the returned result always be properly truncated by the caller since the evaluation may not - this is done to conserve emulation cycles.
- See Also:
-