public class

TypeLayoutInfo

extends Object
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.units.code.asm.type.TypeLayoutInfo

Class Overview

Basic memory requirements (layout) for a type. Those objects are immutable type descriptor, and are used by calling convention objects.

Summary

Fields
public static final TypeLayoutInfo f1 A floating type fitting on a single slot (the size of the slot is architecture-dependant).
public static final TypeLayoutInfo f2 A floating type fitting on two slots (the size of the slot is architecture-dependant).
public static final TypeLayoutInfo i1 An integer type fitting on a single slot (the size of the slot is architecture-dependant).
public static final TypeLayoutInfo i2 An integer type fitting on two slots (the size of the slot is architecture-dependant).
public static final TypeLayoutInfo ptr A pointer type fitting on a single slot (the size of the slot is architecture-dependant).
Public Methods
static TypeLayoutInfo c(int slotcount)
Create another entry type, usually used for composite types (structures and similar).
boolean equals(Object obj)
static TypeLayoutInfo f(int slotcount)
Create a floating point entry.
TypeCategory getCategory()
int getSlotcount()
int hashCode()
static TypeLayoutInfo i(int slotcount)
Create an integral entry.
boolean isComposite()
boolean isFloat()
boolean isInteger()
boolean isPointer()
boolean isVector()
static TypeLayoutInfo p(int slotcount)
Create a pointer entry.
String toString()
static TypeLayoutInfo v(int slotcount)
Create a vector-type entry.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final TypeLayoutInfo f1

A floating type fitting on a single slot (the size of the slot is architecture-dependant).

public static final TypeLayoutInfo f2

A floating type fitting on two slots (the size of the slot is architecture-dependant).

public static final TypeLayoutInfo i1

An integer type fitting on a single slot (the size of the slot is architecture-dependant).

public static final TypeLayoutInfo i2

An integer type fitting on two slots (the size of the slot is architecture-dependant).

public static final TypeLayoutInfo ptr

A pointer type fitting on a single slot (the size of the slot is architecture-dependant).

Public Methods

public static TypeLayoutInfo c (int slotcount)

Create another entry type, usually used for composite types (structures and similar).

public boolean equals (Object obj)

public static TypeLayoutInfo f (int slotcount)

Create a floating point entry.

public TypeCategory getCategory ()

public int getSlotcount ()

public int hashCode ()

public static TypeLayoutInfo i (int slotcount)

Create an integral entry.

public boolean isComposite ()

public boolean isFloat ()

public boolean isInteger ()

public boolean isPointer ()

public boolean isVector ()

public static TypeLayoutInfo p (int slotcount)

Create a pointer entry.

Parameters
slotcount usually 1

public String toString ()

public static TypeLayoutInfo v (int slotcount)

Create a vector-type entry.