public interface

IJniEndpoint

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

Class Overview

Represent a Jni Endpoint. There are 2 kind of Jni Endpoint:

  • static endpoints: based on convention name
  • dynamic endpoints: loaded from JNI_OnLoad inner method
  • 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 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 Jni Endpoint type

    Returns
    • true for static endpoints, false for dynamically loaded