Package org.eclipse.cdt.utils.elf
Class Elf.Section
- java.lang.Object
-
- org.eclipse.cdt.utils.elf.Elf.Section
-
- Enclosing class:
- Elf
public class Elf.Section extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static intNT_GNU_BUILD_IDIAddresssh_addrlongsh_addralignlongsh_entsizelongsh_flagslongsh_infolongsh_linklongsh_namelongsh_offsetlongsh_sizelongsh_typestatic intSHF_ALLOCstatic intSHF_COMPRESSEDstatic intSHF_EXECINTRstatic intSHF_WRITEstatic intSHT_DYNAMICstatic intSHT_DYNSYMstatic intSHT_HASHstatic intSHT_LOPROCstatic intSHT_NOBITSstatic intSHT_NOTEstatic intSHT_NULLstatic intSHT_PROGBITSstatic intSHT_RELstatic intSHT_RELAstatic intSHT_SHLIBstatic intSHT_STRTABstatic intSHT_SYMTAB
-
Constructor Summary
Constructors Constructor Description Section()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]loadSectionData()java.nio.ByteBuffermapSectionData()java.lang.StringtoString()
-
-
-
Field Detail
-
SHT_NULL
public static final int SHT_NULL
- See Also:
- Constant Field Values
-
SHT_PROGBITS
public static final int SHT_PROGBITS
- See Also:
- Constant Field Values
-
SHT_SYMTAB
public static final int SHT_SYMTAB
- See Also:
- Constant Field Values
-
SHT_STRTAB
public static final int SHT_STRTAB
- See Also:
- Constant Field Values
-
SHT_RELA
public static final int SHT_RELA
- See Also:
- Constant Field Values
-
SHT_HASH
public static final int SHT_HASH
- See Also:
- Constant Field Values
-
SHT_DYNAMIC
public static final int SHT_DYNAMIC
- See Also:
- Constant Field Values
-
SHT_NOTE
public static final int SHT_NOTE
- See Also:
- Constant Field Values
-
SHT_NOBITS
public static final int SHT_NOBITS
- See Also:
- Constant Field Values
-
SHT_REL
public static final int SHT_REL
- See Also:
- Constant Field Values
-
SHT_SHLIB
public static final int SHT_SHLIB
- See Also:
- Constant Field Values
-
SHT_DYNSYM
public static final int SHT_DYNSYM
- See Also:
- Constant Field Values
-
SHT_LOPROC
public static final int SHT_LOPROC
- See Also:
- Constant Field Values
-
SHF_WRITE
public static final int SHF_WRITE
- See Also:
- Constant Field Values
-
SHF_ALLOC
public static final int SHF_ALLOC
- See Also:
- Constant Field Values
-
SHF_EXECINTR
public static final int SHF_EXECINTR
- See Also:
- Constant Field Values
-
SHF_COMPRESSED
public static final int SHF_COMPRESSED
- Since:
- 6.6
- See Also:
- Constant Field Values
-
NT_GNU_BUILD_ID
public static final int NT_GNU_BUILD_ID
- Since:
- 5.7
- See Also:
- Constant Field Values
-
sh_name
public long sh_name
-
sh_type
public long sh_type
-
sh_flags
public long sh_flags
-
sh_addr
public IAddress sh_addr
-
sh_offset
public long sh_offset
-
sh_size
public long sh_size
-
sh_link
public long sh_link
-
sh_info
public long sh_info
-
sh_addralign
public long sh_addralign
-
sh_entsize
public long sh_entsize
-
-
Method Detail
-
mapSectionData
public java.nio.ByteBuffer mapSectionData() throws java.io.IOException- Throws:
java.io.IOException- Since:
- 5.1
-
loadSectionData
public byte[] loadSectionData() throws java.io.IOException- Throws:
java.io.IOException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-