java.lang.Object |
↳ |
com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.AddressConversionLists |
Class Overview
IR-offset to/from native-address conversion lists.
Note that the native addresses mapping from an IR statement are stored in the IR itself (see
getLowerLevelAddresses()
). However, a complete mapping, for an entire IR CFG
or statements list, may be built using the static methods offered by this class.
Summary
Public Constructors |
|
AddressConversionLists(Map<Long, Integer> nativeToInter, Map<Integer, Long> interToNative)
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
public
AddressConversionLists
(Map<Long, Integer> nativeToInter, Map<Integer, Long> interToNative)
Public Methods
public
Long
convertIntermediateOffset
(int offset)
public
Integer
convertNativeAddress
(long address)
public
static
String
formatConversionLists
(Map<Integer, Long> interToNative, Map<Long, Integer> nativeToInter)
Generate conversion lists from a CFG.
Returns
- a conversion-lists object containing IR<>Native mapping information
Throws
IllegalStateException
| in DEBUG mode only, if the CFG and/or its statements contain
inconsistencies
|
public
Map<Integer, Long>
getInterToNative
()
public
List<Integer>
getIntermediateOffsetsMappingToNativeAddress
(long address)
public
List<Long>
getNativeAddressesMappingToIntermediateOffset
(int offset)
public
Map<Long, Integer>
getNativeToInter
()
public
void
record
(long nativeAddress, int irOffset)
public
String
toString
()