public class

EntryPointDescription

extends PointerDescription
implements IEntryPointDescription
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.units.code.PointerDescription
     ↳ com.pnfsoftware.jeb.core.units.code.EntryPointDescription

Class Overview

An entry-point is a pointer to code bytes with an associated processor mode.

Summary

[Expand]
Inherited Constants
From class com.pnfsoftware.jeb.core.units.code.PointerDescription
[Expand]
Inherited Fields
From class com.pnfsoftware.jeb.core.units.code.PointerDescription
Public Constructors
EntryPointDescription(long address, int mode)
Create an entry-point address description.
EntryPointDescription(long address)
Create an entry-point description using a default processor mode.
EntryPointDescription(IEntryPointDescription src)
Public Methods
boolean almostEquals(Object obj)
Equality that disregards the processor mode.
static EntryPointDescription createFrom(INativeMethodDataItem routineData)
static EntryPointDescription createFrom(long internalAddress, INativeCodeModel<?> model)
static EntryPointDescription createFrom(ILocatedInstruction insn)
static EntryPointDescription createFrom(String entryPointAsString)
static EntryPointDescription createFrom(INativeMethodItem routine)
static EntryPointDescription createUnknown()
Create an Entry Point Description pointing to an unknown address.
static EntryPointDescription createUnknown(int mode)
Create an Entry Point Description pointing to an unknown address.
boolean equals(Object obj)
int getMode()
Get the processor mode that should be used when parsing at the address.
int hashCode()
boolean isUnknownAddress()
Indicate if the entry-point relates to an unknown address
void setMode(int mode)
Set the processor mode.
String toString()
[Expand]
Inherited Methods
From class com.pnfsoftware.jeb.core.units.code.PointerDescription
From class java.lang.Object
From interface com.pnfsoftware.jeb.core.units.code.IEntryPointDescription

Public Constructors

public EntryPointDescription (long address, int mode)

Create an entry-point address description.

Parameters
address address of the Entry point or -1 for unknown address.
mode optional processor mode, can be MODE_DEFAULT (0) if unknown/default

public EntryPointDescription (long address)

Create an entry-point description using a default processor mode.

public EntryPointDescription (IEntryPointDescription src)

Public Methods

public boolean almostEquals (Object obj)

Equality that disregards the processor mode.

public static EntryPointDescription createFrom (INativeMethodDataItem routineData)

public static EntryPointDescription createFrom (long internalAddress, INativeCodeModel<?> model)

public static EntryPointDescription createFrom (ILocatedInstruction insn)

public static EntryPointDescription createFrom (String entryPointAsString)

public static EntryPointDescription createFrom (INativeMethodItem routine)

public static EntryPointDescription createUnknown ()

Create an Entry Point Description pointing to an unknown address.

public static EntryPointDescription createUnknown (int mode)

Create an Entry Point Description pointing to an unknown address.

public boolean equals (Object obj)

public int getMode ()

Get the processor mode that should be used when parsing at the address.

Returns
  • processor mode

public int hashCode ()

public boolean isUnknownAddress ()

Indicate if the entry-point relates to an unknown address

Returns
  • true if address is unknown, false otherwise

public void setMode (int mode)

Set the processor mode.

public String toString ()