Package ghidra.app.util.bin.format.pe
Enum PortableExecutable.SectionLayout
- java.lang.Object
-
- java.lang.Enum<PortableExecutable.SectionLayout>
-
- ghidra.app.util.bin.format.pe.PortableExecutable.SectionLayout
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PortableExecutable.SectionLayout>
- Enclosing class:
- PortableExecutable
public static enum PortableExecutable.SectionLayout extends java.lang.Enum<PortableExecutable.SectionLayout>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PortableExecutable.SectionLayout
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PortableExecutable.SectionLayout[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FILE
public static final PortableExecutable.SectionLayout FILE
Indicates the sections of this PE are laid out as stored in a file.
-
MEMORY
public static final PortableExecutable.SectionLayout MEMORY
Indicates the sections of this PE are laid out as loaded into memory
-
-
Method Detail
-
values
public static PortableExecutable.SectionLayout[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PortableExecutable.SectionLayout c : PortableExecutable.SectionLayout.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PortableExecutable.SectionLayout valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-