public interface

ICallingConventionManager

com.pnfsoftware.jeb.core.units.code.asm.type.ICallingConventionManager

Class Overview

A calling convention manager provides calling convention definitions for a given processor.

Summary

Public Methods
abstract boolean addConvention(ICallingConvention cc)
abstract List<ICallingConvention> getAllConventions()
Get all calling conventions present in this manager.
abstract CompilerType getCompilerType()
Get the optional compiler type supported by this manager.
abstract ICallingConvention getConvention(String conventionName)
Retrieve a convention by name.
abstract List<ICallingConvention> getConventions()
Get calling conventions provided by this manager that are compatible with the set-up processor, subsystem, and compiler.
abstract ICallingConvention getDefaultConvention()
Get the default convention provided by this manager.
abstract ProcessorType getProcessorType()
Get the processor type supported by this manager.
abstract SubsystemType getSubsystemType()
Get the optional subsystem type supported by this manager.
abstract boolean removeConvention(ICallingConvention cc)
abstract void setDefaultConvention(ICallingConvention defaultConvention)

Public Methods

public abstract boolean addConvention (ICallingConvention cc)

public abstract List<ICallingConvention> getAllConventions ()

Get all calling conventions present in this manager. Not all may be compatible with the set-up processor, subsystem, and compiler.

Usage of this method is discouraged. Prefer getConventions() instead.

public abstract CompilerType getCompilerType ()

Get the optional compiler type supported by this manager.

Returns
  • may be null

public abstract ICallingConvention getConvention (String conventionName)

Retrieve a convention by name. The convention must be

public abstract List<ICallingConvention> getConventions ()

Get calling conventions provided by this manager that are compatible with the set-up processor, subsystem, and compiler.

public abstract ICallingConvention getDefaultConvention ()

Get the default convention provided by this manager.

public abstract ProcessorType getProcessorType ()

Get the processor type supported by this manager.

Returns
  • never null

public abstract SubsystemType getSubsystemType ()

Get the optional subsystem type supported by this manager.

Returns
  • may be null

public abstract boolean removeConvention (ICallingConvention cc)

public abstract void setDefaultConvention (ICallingConvention defaultConvention)

Parameters
defaultConvention non-null