| Member | What it is |
| ArtImage.parse(bytes, { limit, bootImages, dexFiles, name }) | Reads an image; throws only when the bytes are not an ART image. limit caps the decompressed size (512 MB). bootImages: other parsed images, to name what this one points to and check the boot checksum. dexFiles: DexFiles (lib/dex.js) of the dex caches, in multidex order. name: the image's name when other images refer to it. |
| image.header | { magic, version, layout, headerSize, imageReservationSize, componentCount, imageBegin, imageSize, imageChecksum, oatChecksum, oatFileBegin, oatDataBegin, oatDataEnd, oatFileEnd, bootImageBegin, bootImageSize, bootImageComponentCount, bootImageChecksum, imageRoots, pointerSize, dataSize, blocksOffset, blocksCount, imageKindField, trailer }; layout is "observed-120" or "source" |
| image.kind · image.release · image.storage | "boot image", "boot image extension" or "app image"; the Android release; "LZ4HC"… |
| image.sections · image.blocks · image.bitmap | [{ index, name, offset, size, description }]; [{ storageMode, storageName, dataOffset, dataSize, imageOffset, imageSize, error }]; { offset, size } in the file |
| image.data · image.objects | the decompressed image (Uint8Array; offset 0 = imageBegin); { count, offsets } (Uint32Array of the objects' image offsets, from the bitmap) |
| image.imageMethods · image.roots | [{ name, address, where }]; { address, length, dexCaches: [{ address, location, classLoader, dexFileIndex, classes }], classRoots: { address, length, inImage, classes: [{ index, name, address }], reference }, special: { address, kind, descriptor, objects, parent, parentText, reference } } |
| image.classes | [{ address, offset, descriptor, descriptorSource, status, statusName, accessFlags, classFlags, dexCache, location, dexTypeIndex, dexClassDefIndex, superClass, componentType, classLoader, nameString, objectSize, classSize, primitiveType, componentSizeShift, unknownField, fieldsAddress, fieldCount, methodsAddress, methodCount, instances, instanceBytes, inClassTable }] |
| image.methods · image.runtimeMethods | [{ address, offset, declaringClass, className, owner, accessFlags, dexMethodIndex, methodIndex, hotnessOrImtIndex, data, entryPoint, entry: { where, offset, text }, name, proto }] |
| image.fields | [{ address, offset, declaringClass, className, accessFlags, fieldDexIndex, fieldOffset, name, type }] |
| image.strings | every String object: [{ address, offset, length, compressed, hash, value, interned }] |
| image.internTables · image.classTables · image.classTableEntries | the hash sets [{ offset, elements, buckets, elementsUntilExpand, minLoadFactor, maxLoadFactor, entries }]; the class table's [{ address, hashBits, external }] |
| image.objectCounts · image.entryPoints · image.stringReferences | [{ classAddress, descriptor, count, bytes }]; the entry points several methods share [{ address, count, where, offset, text }]; [{ objectOffset, fieldOffset, address, value }] |
| image.imTables · image.conflictTables · image.layoutChecked · image.bootImageCheck · image.problems | table counts; whether the object layouts were read (versions 119, 120); { primaries, components, checksum, matches }; what is wrong or wasn't read |
| image.classAt(address) · image.stringAt(address) · image.descriptorOf(address) · image.describeAddress(address) | a class or string of this image or a boot image given; a class's descriptor or a reference text ("<type #12 of core-oj.jar>", "<class at boot image range +0x55028>"); where an address points: { where, offset, text } |
| ArtImage.isArtImage(bytes) · ArtImage.findOatHeader(bytes) · ArtImage.releaseOf(version) · ArtImage.accessFlagsText(flags, kind) | the magic check; the OatHeader { offset, version, checksum } in an .oat / .odex; the release of a version; flags as words (kind "class", "method", "field") |