Class TypeLibraryMetadata
java.lang.Object
com.pnfsoftware.jeb.core.units.code.asm.type.TypeLibraryMetadata
Metadata header for type library binary files. Refer to
ITypeLibrary for details about
methods.-
Method Summary
Modifier and TypeMethodDescriptionstatic TypeLibraryMetadatacreate(ProcessorType processorType, SubsystemType subsystemType, CompilerType compilerType) static TypeLibraryMetadatacreate(ProcessorType processorType, SubsystemType subsystemType, CompilerType compilerType, int standardPackingAlignment, int groupId, double priorityOrder, int uuid, int version, String name, String description, String author) static TypeLibraryMetadatacreate(List<ProcessorType> processorTypes, List<SubsystemType> subsystemTypes, CompilerType compilerType, int standardPackingAlignment, int groupId, double priorityOrder, int uuid, int version, String name, String description, String author) longintgetName()doubleintRetrieve the standard packing value used by the compiler to align structure fields if nothing was explicitly specified.intgetUuid()intvoidvoidtoString()
-
Method Details
-
create
public static TypeLibraryMetadata create(ProcessorType processorType, SubsystemType subsystemType, CompilerType compilerType) -
create
public static TypeLibraryMetadata create(ProcessorType processorType, SubsystemType subsystemType, CompilerType compilerType, int standardPackingAlignment, int groupId, double priorityOrder, int uuid, int version, String name, String description, String author) -
create
public static TypeLibraryMetadata create(List<ProcessorType> processorTypes, List<SubsystemType> subsystemTypes, CompilerType compilerType, int standardPackingAlignment, int groupId, double priorityOrder, int uuid, int version, String name, String description, String author) -
getPrimaryProcessorType
-
getProcessorTypes
-
getPrimarySubsystemType
-
getSubsystemTypes
-
getCompilerType
-
getGroupId
public int getGroupId() -
getPriorityOrder
public double getPriorityOrder() -
getUuid
public int getUuid() -
getVersion
public int getVersion() -
getName
-
getDescription
-
getAuthor
-
getCreationTimestamp
public long getCreationTimestamp() -
putData
-
putData
-
getData
-
getStandardPackingAlignment
public int getStandardPackingAlignment()Retrieve the standard packing value used by the compiler to align structure fields if nothing was explicitly specified. For type readers, this value is informative and may not be present (in which case, the method returns 0). For type generators, this value is important as it is used to generate proper structure layouts.- Returns:
- 0 means unknown or not set; negative values are illegal; the value
Integer.MAX_VALUEmeans that struct members are aligned on the underlying primitive size
-
toString
-