Class VS_VERSION_INFO
java.lang.Object
ghidra.app.util.bin.format.pe.resource.VS_VERSION_INFO
- All Implemented Interfaces:
StructConverter
A class to represent the VS_VERSION_INFO data structure.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionVS_VERSION_INFO(BinaryReader reader, int index) Constructs a new VS_VERSION_INFO object. -
Method Summary
Modifier and TypeMethodDescriptionReturns the array of VS_VERSION_CHILD defined in this VS_VERSION_INFO object.intReturns the file flags.Returns the file flags mask.intReturns the file OS.intReturns the file sub-type.intReturns the file timestamp.intReturns the file type.Returns the file version.getInfo()Returns the info.String[]getKeys()Returns the array of keys in this version child.Returns the product version.intReturns the signature.shortReturns the structure length.shortReturns the structure type.Returns the structure version.Returns the value for the specified key.shortReturns the value length.Returns a structure datatype representing the contents of the implementor of this interface.
-
Field Details
-
NAME
- See Also:
-
SIZEOF
public static final int SIZEOF- See Also:
-
-
Constructor Details
-
VS_VERSION_INFO
Constructs a new VS_VERSION_INFO object.- Parameters:
reader- the binary readerindex- the index where the VS_VERSION_INFO begins- Throws:
IOException- if an I/O error occurs
-
-
Method Details
-
toDataType
Description copied from interface:StructConverterReturns a structure datatype representing the contents of the implementor of this interface.For example, given:
class A { int foo; double bar; }The return value should be a structure data type with two data type components; an INT and a DOUBLE. The structure should contain field names and, if possible, field comments.
- Specified by:
toDataTypein interfaceStructConverter- Returns:
- returns a structure datatype representing the implementor of this interface
- Throws:
DuplicateNameException- when a datatype of the same name already exists- See Also:
-
getChildren
Returns the array of VS_VERSION_CHILD defined in this VS_VERSION_INFO object.- Returns:
- the array of VS_VERSION_CHILD defined in this VS_VERSION_INFO object
-
getFileFlags
public int getFileFlags()Returns the file flags.- Returns:
- the file flags
-
getFileFlagsMask
-
getFileOS
public int getFileOS()Returns the file OS.- Returns:
- the file OS
-
getFileSubtype
public int getFileSubtype()Returns the file sub-type.- Returns:
- the file sub-type
-
getFileTimestamp
public int getFileTimestamp()Returns the file timestamp.- Returns:
- the file timestamp
-
getFileType
public int getFileType()Returns the file type.- Returns:
- the file type
-
getFileVersion
-
getInfo
-
getProductVersion
-
getSignature
public int getSignature()Returns the signature.- Returns:
- the signature
-
getStructLength
public short getStructLength()Returns the structure length.- Returns:
- the structure length
-
getStructType
public short getStructType()Returns the structure type.- Returns:
- the structure type
-
getStructVersion
-
getValueLength
public short getValueLength()Returns the value length.- Returns:
- the value length
-
getKeys
Returns the array of keys in this version child.- Returns:
- the array of keys in this version child
-
getValue
-