Class AbstractEncodedMemoryArea
java.lang.Object
com.pnfsoftware.jeb.core.units.code.asm.processor.memory.AbstractEncodedMemoryArea
- All Implemented Interfaces:
IEncodedMemoryArea
- Direct Known Subclasses:
DirectEncodedMemoryArea,EncodedMemoryAreaList,FunctionEncodedMemoryArea,VirtualEncodedMemoryArea
Skeleton code.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintdecodeInt(byte[] code) The implementation down-casts the long value returned byIEncodedMemoryArea.decode(byte[])to an int.shift(int shiftValue) Create a shifted encoded area.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.pnfsoftware.jeb.core.units.code.asm.processor.memory.IEncodedMemoryArea
decode, getLength
-
Constructor Details
-
AbstractEncodedMemoryArea
public AbstractEncodedMemoryArea()
-
-
Method Details
-
decodeInt
public int decodeInt(byte[] code) The implementation down-casts the long value returned byIEncodedMemoryArea.decode(byte[])to an int.- Specified by:
decodeIntin interfaceIEncodedMemoryArea- Parameters:
code- instruction bytes- Returns:
- decoded value
-
shift
Description copied from interface:IEncodedMemoryAreaCreate a shifted encoded area.- Specified by:
shiftin interfaceIEncodedMemoryArea- Parameters:
shiftValue- shift amount in bits- Returns:
- shifted encoded area
-