public interface

IDecompilerUnit

implements IInteractiveUnit
com.pnfsoftware.jeb.core.units.code.IDecompilerUnit

Class Overview

Generic interface for decompilers.

Summary

Public Methods
abstract ISourceUnit decompile(String identifier)
Perform a decompilation.
abstract boolean decompileClass(String identifier)
Decompile a class.
abstract boolean decompileField(String identifier)
Decompiler a field.
abstract boolean decompileMethod(String identifier)
Decompile a method.
abstract ISourceUnit getDecompiledUnit(String identifier)
Retrieve a unit which represent an entity decompiled at the provided identifier/address.
abstract List<String> getInferredTypes(String msig, int moff, int varindex)
Do not use.
abstract DecompilerOutputType getOutputType()
Get the type of output produced by this decompiler.
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.core.units.IInteractiveUnit
From interface com.pnfsoftware.jeb.core.units.IUnit
From interface com.pnfsoftware.jeb.util.events.IEventSource

Public Methods

public abstract ISourceUnit decompile (String identifier)

Perform a decompilation.

Parameters
identifier the identifier or address at which the decompilation should be performed
Returns
  • the source unit

public abstract boolean decompileClass (String identifier)

Decompile a class.

Parameters
identifier class identifier
Returns
  • success indicator

public abstract boolean decompileField (String identifier)

Decompiler a field.

Parameters
identifier field identifier
Returns
  • success indicator

public abstract boolean decompileMethod (String identifier)

Decompile a method.

Parameters
identifier method identifier
Returns
  • success indicator

public abstract ISourceUnit getDecompiledUnit (String identifier)

Retrieve a unit which represent an entity decompiled at the provided identifier/address. If no decompilation

Parameters
identifier the identifier or address
Returns
  • the unit or null, if no decompilation at the provided identifier previously took place

public abstract List<String> getInferredTypes (String msig, int moff, int varindex)

Do not use.

public abstract DecompilerOutputType getOutputType ()

Get the type of output produced by this decompiler.

Returns
  • the unit (newly created or retrieved) or null if no decompilation could be performed