public interface

IDexFile

com.pnfsoftware.jeb.core.units.code.android.IDexFile

Class Overview

Representation of a single classesX.dex of an APK. Those objects are indicative and contains, eg header information of individual DEX files of an APK. They are managed and can be retrieved by their owner DEX unit.

Summary

Public Methods
abstract int getActualChecksum()
Get the computed checksum.
abstract byte[] getActualSignature()
Get the computed signature.
abstract int getCallSitesPoolOffset()
Convenience method.
abstract int getCallSitesPoolSize()
Convenience method.
abstract int getClassesPoolOffset()
abstract int getClassesPoolSize()
abstract int getDataSectionOffset()
abstract int getDataSectionSize()
abstract Endianness getEndianness()
Get the endianness of this file.
abstract int getExpectedChecksum()
Get the header provided file checksum.
abstract int getExpectedFileSize()
Get the header provided file size for this DEX file.
abstract byte[] getExpectedSignature()
Get the header provided SHA-1 file signature.
abstract int getFieldsPoolOffset()
abstract int getFieldsPoolSize()
abstract int getHeaderSize()
Get the size of header.
abstract int getLinkSectionOffset()
abstract int getLinkSectionSize()
abstract IDexMap getMap()
Get a map object for this file.
abstract int getMapOffset()
abstract int getMethodHandlesPoolOffset()
Convenience method.
abstract int getMethodHandlesPoolSize()
Convenience method.
abstract int getMethodsPoolOffset()
abstract int getMethodsPoolSize()
abstract IDexUnit getOwnerUnit()
Retrieve the owner DEX unit.
abstract int getPrototypesPoolOffset()
abstract int getPrototypesPoolSize()
abstract int getStringsPoolOffset()
abstract int getStringsPoolSize()
abstract int getTypesPoolOffset()
abstract int getTypesPoolSize()
abstract int getVersion()
Get the DEX version number.

Public Methods

public abstract int getActualChecksum ()

Get the computed checksum. It may differ from the expected one.

public abstract byte[] getActualSignature ()

Get the computed signature. It may differ from the expected one.

public abstract int getCallSitesPoolOffset ()

Convenience method. Always return 0 for DEX files version 37-.

public abstract int getCallSitesPoolSize ()

Convenience method. Always return 0 for DEX files version 37-.

public abstract int getClassesPoolOffset ()

public abstract int getClassesPoolSize ()

public abstract int getDataSectionOffset ()

public abstract int getDataSectionSize ()

public abstract Endianness getEndianness ()

Get the endianness of this file. Currently, all DEX files use a little-endian byte ordering.

public abstract int getExpectedChecksum ()

Get the header provided file checksum.

public abstract int getExpectedFileSize ()

Get the header provided file size for this DEX file.

public abstract byte[] getExpectedSignature ()

Get the header provided SHA-1 file signature.

public abstract int getFieldsPoolOffset ()

public abstract int getFieldsPoolSize ()

public abstract int getHeaderSize ()

Get the size of header.

public abstract int getLinkSectionOffset ()

public abstract int getLinkSectionSize ()

public abstract IDexMap getMap ()

Get a map object for this file.

public abstract int getMapOffset ()

public abstract int getMethodHandlesPoolOffset ()

Convenience method. Always return 0 for DEX files version 37-.

public abstract int getMethodHandlesPoolSize ()

Convenience method. Always return 0 for DEX files version 37-.

public abstract int getMethodsPoolOffset ()

public abstract int getMethodsPoolSize ()

public abstract IDexUnit getOwnerUnit ()

Retrieve the owner DEX unit.

public abstract int getPrototypesPoolOffset ()

public abstract int getPrototypesPoolSize ()

public abstract int getStringsPoolOffset ()

public abstract int getStringsPoolSize ()

public abstract int getTypesPoolOffset ()

public abstract int getTypesPoolSize ()

public abstract int getVersion ()

Get the DEX version number.