public interface

IJniEndpoint

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

Class Overview

Definition of a JNI endpoint. There are 2 kinds of JNI endpoints:

  • static endpoints: auto-determined by JNI-defined naming convention
  • dynamic endpoints: set-up in code via JNI's RegisterNatives

Summary

Public Methods
abstract Long getAddress()
Address of the endpoint in a particular IUnit.
abstract String getMethodName()
The method name, built from static convention name.
abstract IUnit getUnit()
IUnit bound to this endpoint.
abstract boolean isStatic()
Indicate the JNI endpoint type

Public Methods

public abstract Long getAddress ()

Address of the endpoint in a particular IUnit. getUnit() must not return null if this method does not return null. Note that address can be null for static endpoints.

Returns
  • the address of the endpoint in the getUnit()

public abstract String getMethodName ()

The method name, built from static convention name.

Returns
  • the method name

public abstract IUnit getUnit ()

IUnit bound to this endpoint. Note that it can be null for static endpoints.

Returns
  • the container unit of native code (expected an IELFUnit in most cases)

public abstract boolean isStatic ()

Indicate the JNI endpoint type

Returns
  • true for static endpoints, false for dynamically loaded