public interface

IPrototypeItem

implements ICodePrototype INativeType
com.pnfsoftware.jeb.core.units.code.asm.type.IPrototypeItem

Class Overview

A native prototype.

A prototype item contains return- and parameter types, calling convention, as well as other calling convention attributes.

Note: a reference-item to a prototype-item is a function-pointer type.

Summary

[Expand]
Inherited Constants
From interface com.pnfsoftware.jeb.core.units.code.ICodeItem
Public Methods
abstract ICallingConvention getCallingConvention()
Retrieve the optional calling convention associated with the prototype.
abstract int getCountOfParameters()
abstract int getCountOfReturns()
abstract List<String> getParameterNames()
abstract List<? extends INativeType> getParameterTypes()
abstract Collection<PrototypeAttribute> getPrototypeAttributes()
Retrieve the prototype attributes.
abstract INativeType getReturnType()
abstract List<? extends INativeType> getReturnTypes()
abstract String getRoutineName()
abstract boolean isNoReturn()
Convenience method.
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.core.units.code.ICodeItem
From interface com.pnfsoftware.jeb.core.units.code.ICodePrototype
From interface com.pnfsoftware.jeb.core.units.code.ICodeType
From interface com.pnfsoftware.jeb.core.units.code.asm.items.INativeItem
From interface com.pnfsoftware.jeb.core.units.code.asm.items.INativeItemListenable
From interface com.pnfsoftware.jeb.core.units.code.asm.type.INativeType

Public Methods

public abstract ICallingConvention getCallingConvention ()

Retrieve the optional calling convention associated with the prototype.

public abstract int getCountOfParameters ()

public abstract int getCountOfReturns ()

public abstract List<String> getParameterNames ()

Returns
  • optional parameter names, if they were provided with the prototype

public abstract List<? extends INativeType> getParameterTypes ()

public abstract Collection<PrototypeAttribute> getPrototypeAttributes ()

Retrieve the prototype attributes.

Returns
  • prototype attributes, never null

public abstract INativeType getReturnType ()

public abstract List<? extends INativeType> getReturnTypes ()

public abstract String getRoutineName ()

Returns
  • optional routine name, if it was provided with the prototype

public abstract boolean isNoReturn ()

Convenience method.