public abstract class

AbstractInstructionManager

extends Object
implements CFBytesTrie.IKeyExtractor<T>
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.units.code.asm.processor.AbstractInstructionManager<T extends com.pnfsoftware.jeb.core.units.code.IInstruction>

Class Overview

A skeleton class used to create instruction managers.

Summary

Public Constructors
AbstractInstructionManager()
Public Methods
void clearCache()
byte[] extract(T object)
T getInstruction(BytesBlock block)
Protected Methods
byte[] buildKey(BytesBlock block)
abstract T findInstruction(BytesBlock block)
static String getUndefinedMessage(byte[] code)
static String getUnpredictableMessage(byte[] code, String mnemonic)
static void raiseUndefined(byte[] code)
T retrieveInstructionFromCache(T instruction)
boolean useCache(BytesBlock block)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.pnfsoftware.jeb.util.collect.CFBytesTrie.IKeyExtractor

Public Constructors

public AbstractInstructionManager ()

Public Methods

public void clearCache ()

public byte[] extract (T object)

public T getInstruction (BytesBlock block)

Protected Methods

protected byte[] buildKey (BytesBlock block)

protected abstract T findInstruction (BytesBlock block)

protected static String getUndefinedMessage (byte[] code)

protected static String getUnpredictableMessage (byte[] code, String mnemonic)

protected static void raiseUndefined (byte[] code)

protected T retrieveInstructionFromCache (T instruction)

protected boolean useCache (BytesBlock block)