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()
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(ProcessorType proc)
Get all calling conventions provided by this manager matching the provided processor type.
abstract List<ICallingConvention> getConventions()
Get all calling conventions provided by this manager for the the set-up processor (the subsystem and compiler types, if any, are disregarded).
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 ()

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 (ProcessorType proc)

Get all calling conventions provided by this manager matching the provided processor type.

public abstract List<ICallingConvention> getConventions ()

Get all calling conventions provided by this manager for the the set-up processor (the subsystem and compiler types, if any, are disregarded).

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