public class

DirectEncodedMemoryArea

extends AbstractEncodedMemoryArea
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.units.code.asm.processor.memory.AbstractEncodedMemoryArea
     ↳ com.pnfsoftware.jeb.core.units.code.asm.processor.memory.DirectEncodedMemoryArea

Class Overview

Represent a memory Area in code. A memory area is composed of an index and a length

Summary

Protected Constructors
DirectEncodedMemoryArea(int index, int length)
Public Methods
long decode(byte[] code)
static int decodeInt(int index, int length, byte[] code)
static DirectEncodedMemoryArea get(int index, int length)
Build an DirectEncodedMemoryArea from index, length.
int getIndex()
int getLength()
static DirectEncodedMemoryArea getThumb2(int index, int zone, int length)
Build an DirectEncodedMemoryArea for Thumb-2
EncodedMemoryAreaList shift(int shift)
[Expand]
Inherited Methods
From class com.pnfsoftware.jeb.core.units.code.asm.processor.memory.AbstractEncodedMemoryArea
From class java.lang.Object
From interface com.pnfsoftware.jeb.core.units.code.asm.processor.memory.IEncodedMemoryArea

Protected Constructors

protected DirectEncodedMemoryArea (int index, int length)

Public Methods

public long decode (byte[] code)

public static int decodeInt (int index, int length, byte[] code)

public static DirectEncodedMemoryArea get (int index, int length)

Build an DirectEncodedMemoryArea from index, length. index 0 represent the LSB

public int getIndex ()

public int getLength ()

public static DirectEncodedMemoryArea getThumb2 (int index, int zone, int length)

Build an DirectEncodedMemoryArea for Thumb-2

Parameters
index index in the 16-bit area
zone 0 for the LSB side, 1 for the MSB

public EncodedMemoryAreaList shift (int shift)