com.pnfsoftware.jeb.core.units.code.android.IDexFile |
Representation of a single classesX.dex
file of an APK. Those objects are indicative and
contains, e.g. header information of individual DEX files of an APK. They are managed and can be
retrieved by their owner DEX unit.
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 byte[] |
getData()
Retrieve the bytes of the underlying
classes?.dex file. | ||||||||||
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.
|
Get the computed checksum. It may differ from the expected one.
Get the computed signature. It may differ from the expected one.
Convenience method. Always return 0 for DEX files version 37-.
Convenience method. Always return 0 for DEX files version 37-.
Retrieve the bytes of the underlying classes?.dex
file.
Get the endianness of this file. Currently, all DEX files use a little-endian byte ordering.
Get the header provided file checksum.
Get the header provided file size for this DEX file.
Get the header provided SHA-1 file signature.
Get the size of header.
Convenience method. Always return 0 for DEX files version 37-.
Convenience method. Always return 0 for DEX files version 37-.
Get the DEX version number.