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 TypeLibraryMetadata
create
(ProcessorType processorType, SubsystemType subsystemType, CompilerType compilerType) 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) 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) long
int
getName()
double
int
Retrieve the standard packing value used by the compiler to align structure fields if nothing was explicitly specified.int
getUuid()
int
void
void
toString()
-
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_VALUE
means that struct members are aligned on the underlying primitive size
-
toString
-