Package ghidra.app.util.bin.format.pef
Enum SectionShareKind
- java.lang.Object
- 
- java.lang.Enum<SectionShareKind>
- 
- ghidra.app.util.bin.format.pef.SectionShareKind
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<SectionShareKind>
 
 public enum SectionShareKind extends java.lang.Enum<SectionShareKind> Values for the shareKind field.
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description GlobalShareIndicates the section is shared between all processes in the system.ProcessShareIndicates the section is shared within a process, but a fresh copy is created for different processes.ProtectedShareIndicates the section is shared between all processes, but is protected.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SectionShareKindget(int value)intgetValue()static SectionShareKindvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SectionShareKind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
ProcessSharepublic static final SectionShareKind ProcessShare Indicates the section is shared within a process, but a fresh copy is created for different processes.
 - 
GlobalSharepublic static final SectionShareKind GlobalShare Indicates the section is shared between all processes in the system.
 - 
ProtectedSharepublic static final SectionShareKind ProtectedShare Indicates the section is shared between all processes, but is protected. Protected sections are read/write in privileged mode and read-only in user mode.
 
- 
 - 
Method Detail- 
valuespublic static SectionShareKind[] 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 (SectionShareKind c : SectionShareKind.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static SectionShareKind 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 name
- java.lang.NullPointerException- if the argument is null
 
 - 
getValuepublic int getValue() 
 - 
getpublic static SectionShareKind get(int value) 
 
- 
 
-