# Class: 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()](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: AddressConversionLists
- parameter: `nativeToInter`, type: `java.util.Map<java.lang.Long,java.lang.Integer>`
- parameter: `interToNative`, type: `java.util.Map<java.lang.Integer,java.lang.Long>`


## Method: convertIntermediateOffset
- parameter: `offset`, type: `int`
- return type: `java.lang.Long`


## Method: convertNativeAddress
- parameter: `address`, type: `long`
- return type: `java.lang.Integer`


## Method: getInterToNative
- return type: `java.util.Map<java.lang.Integer,java.lang.Long>`


## Method: getIntermediateOffsetsMappingToNativeAddress
- parameter: `address`, type: `long`
- return type: `java.util.List<java.lang.Integer>`


## Method: getNativeAddressesMappingToIntermediateOffset
- parameter: `offset`, type: `int`
- return type: `java.util.List<java.lang.Long>`


## Method: getNativeToInter
- return type: `java.util.Map<java.lang.Long,java.lang.Integer>`


## Method: record
- parameter: `nativeAddress`, type: `long`
- parameter: `irOffset`, type: `int`


## Method: toString
- return type: `java.lang.String`


## Static Method: formatConversionLists
- parameter: `interToNative`, type: `java.util.Map<java.lang.Integer,java.lang.Long>`
- parameter: `nativeToInter`, type: `java.util.Map<java.lang.Long,java.lang.Integer>`
- return type: `java.lang.String`


## Static Method: generateFromCFG
- parameter: `cfg`, type: `com.pnfsoftware.jeb.core.units.code.asm.cfg.CFG<com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.IEStatement>`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.AddressConversionLists`

Description: Generate conversion lists from a CFG.
parameter: cfg: a CFG
return: a conversion\-lists object containing IR\-to\-native mapping information
throws: in DEBUG mode only, if the CFG and/or its statements contain             inconsistencies

## Static Method: generateFromList
- parameter: `stmlist`, type: `java.util.List<com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.IEStatement>`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.AddressConversionLists`


