Class EncodedMemoryAreaList
java.lang.Object
com.pnfsoftware.jeb.core.units.code.asm.processor.memory.AbstractEncodedMemoryArea
com.pnfsoftware.jeb.core.units.code.asm.processor.memory.EncodedMemoryAreaList
- All Implemented Interfaces:
IEncodedMemoryArea
Contains a list of memory areas and acts as if they were adjacent.
-
Constructor Summary
ConstructorsConstructorDescriptionEncodedMemoryAreaList
(IEncodedMemoryArea... memoryAreas) Build a list of memory areas -
Method Summary
Modifier and TypeMethodDescriptionlong
decode
(byte[] code) static EncodedMemoryAreaList
fromBits
(int... b) Build anEncodedMemoryAreaList
from several isolated bits.int
static EncodedMemoryAreaList
shift
(IEncodedMemoryArea memoryArea, int shift) Left shift anIEncodedMemoryArea
by a static value.Methods inherited from class com.pnfsoftware.jeb.core.units.code.asm.processor.memory.AbstractEncodedMemoryArea
decodeInt
-
Constructor Details
-
EncodedMemoryAreaList
Build a list of memory areas- Parameters:
memoryAreas
- From Most significant to Lowest significant
-
-
Method Details
-
getLength
public int getLength() -
decode
public long decode(byte[] code) -
shift
Left shift anIEncodedMemoryArea
by a static value. For variable left shift, useFunctionEncodedMemoryArea
.- Parameters:
memoryArea
-shift
-- Returns:
-
fromBits
Build anEncodedMemoryAreaList
from several isolated bits.- Parameters:
b
-- Returns:
-