Class AddressConversionLists
java.lang.Object
com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.AddressConversionLists
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
IEStatement.getLowerLevelAddresses()). However, a complete mapping, for an entire IR CFG
or statements list, may be built using the static methods offered by this class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertIntermediateOffset(int offset) convertNativeAddress(long address) static Stringstatic AddressConversionListsgenerateFromCFG(CFG<IEStatement> cfg) Generate conversion lists from a CFG.static AddressConversionListsgenerateFromList(List<IEStatement> stmlist) getIntermediateOffsetsMappingToNativeAddress(long address) getNativeAddressesMappingToIntermediateOffset(int offset) voidrecord(long nativeAddress, int irOffset) toString()
-
Constructor Details
-
AddressConversionLists
-
-
Method Details
-
record
public void record(long nativeAddress, int irOffset) -
getNativeToInter
-
convertNativeAddress
-
getInterToNative
-
convertIntermediateOffset
-
getIntermediateOffsetsMappingToNativeAddress
-
getNativeAddressesMappingToIntermediateOffset
-
toString
-
formatConversionLists
-
generateFromCFG
Generate conversion lists from a CFG.- Parameters:
cfg- a CFG- Returns:
- a conversion-lists object containing IRinvalid input: '<'>Native mapping information
- Throws:
IllegalStateException- in DEBUG mode only, if the CFG and/or its statements contain inconsistencies
-
generateFromList
-