public interface

IDartAotUnit

implements IUnit
com.pnfsoftware.jeb.core.units.code.dart.IDartAotUnit

Class Overview

Top-level interface for JEB units representing parsed Dart AOT binaries.

Refer to this blog entry to learn about how JEB detects and processes Dart AOT snapshots.

Summary

Public Methods
abstract List<Object> generatePrimaryPool()
Build the primary pool.
abstract List<IDartInternalObject> getInternalObjects()
Retrieve the list of raw Dart objects held in the snapshots.
abstract IDartAotSnapshotInfo getIsolateSnapshotInfo()
Retrieve the application isolate snapshot information object.
abstract IDartAotSnapshotInfo getVmSnapshotInfo()
Retrieve the virtual machine snapshot information object.
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.core.IUnitCreator
From interface com.pnfsoftware.jeb.core.IUserDataSupport
From interface com.pnfsoftware.jeb.core.units.IUnit
From interface com.pnfsoftware.jeb.util.events.IEventSource

Public Methods

public abstract List<Object> generatePrimaryPool ()

Build the primary pool. The primary pool is the first non-null Dart object of kObjectPoolCid type. Pool entries will be of the type any Long or IDartInternalObject.

Note that String pool entries will be IDartInternalObject having a "string-type" classId (???StringCid). For such objects, the string is contained in the "data" attribute.

Returns
  • the primary pool or null

public abstract List<IDartInternalObject> getInternalObjects ()

Retrieve the list of raw Dart objects held in the snapshots.

Returns
  • immutable list

public abstract IDartAotSnapshotInfo getIsolateSnapshotInfo ()

Retrieve the application isolate snapshot information object.

public abstract IDartAotSnapshotInfo getVmSnapshotInfo ()

Retrieve the virtual machine snapshot information object.