joeq.Linker.ELF
Class Section.FakeSection

java.lang.Object
  extended by joeq.Linker.ELF.Section
      extended by joeq.Linker.ELF.Section.FakeSection
All Implemented Interfaces:
ELFConstants
Direct Known Subclasses:
Section.AbsSection
Enclosing class:
Section

public abstract static class Section.FakeSection
extends Section


Nested Class Summary
 
Nested classes/interfaces inherited from class joeq.Linker.ELF.Section
Section.AbsSection, Section.DynamicSection, Section.DynSymSection, Section.FakeSection, Section.HashSection, Section.NoBitsSection, Section.NoteSection, Section.NullSection, Section.ProgBitsSection, Section.ProgBitsSectionImpl, Section.RelASection, Section.RelSection, Section.StrTabSection, Section.SymTabSection, Section.UnloadedSection
 
Field Summary
 
Fields inherited from class joeq.Linker.ELF.Section
addr, DEFAULT_ENCODING, flags, index, name
 
Fields inherited from interface joeq.Linker.ELF.ELFConstants
ELFCLASS32, ELFCLASS64, ELFCLASSNONE, ELFDATA2LSB, ELFDATA2MSB, ELFDATANONE, ELFMAG0, ELFMAG1, ELFMAG2, ELFMAG3, EM_386, EM_68K, EM_860, EM_88K, EM_M32, EM_MIPS, EM_MIPS_RS4_BE, EM_SPARC, ET_CORE, ET_DYN, ET_EXEC, ET_HIPROC, ET_LOPROC, ET_NONE, ET_REL, EV_CURRENT, EV_NONE, PT_DYNAMIC, PT_HIPROC, PT_INTERP, PT_LOAD, PT_LOPROC, PT_NOTE, PT_NULL, PT_PHDR, PT_SHLIB, R_386_32, R_386_NONE, R_386_PC32, SHF_ALLOC, SHF_EXECINSTR, SHF_MASKPROC, SHF_WRITE, SHN_ABS, SHN_COMMON, SHN_HIPROC, SHN_HIRESERVE, SHN_INVALID, SHN_LOPROC, SHN_LORESERVE, SHN_UNDEF, SHT_DYNAMIC, SHT_DYNSYM, SHT_HASH, SHT_HIPROC, SHT_HIUSER, SHT_LOPROC, SHT_LOUSER, SHT_NOBITS, SHT_NOTE, SHT_NULL, SHT_PROGBITS, SHT_REL, SHT_RELA, SHT_SHLIB, SHT_STRTAB, SHT_SYMTAB, STB_GLOBAL, STB_HIPROC, STB_LOCAL, STB_LOPROC, STB_WEAK, STT_FILE, STT_FUNC, STT_HIPROC, STT_LOPROC, STT_NOTYPE, STT_OBJECT, STT_SECTION
 
Method Summary
 void clearAlloc()
           
 void clearExecInstr()
           
 void clearWrite()
           
 int getAddr()
           
 int getAddrAlign()
           
 int getEntSize()
           
 int getFlags()
           
 int getIndex()
           
 int getInfo()
           
 int getLink()
           
 int getSize()
           
 int getType()
           
 void load(Section.UnloadedSection s, ELF file)
           
 void setAddr(int addr)
           
 void setAlloc()
           
 void setExecInstr()
           
 void setName(String name)
           
 void setWrite()
           
 void writeData(ELF file)
           
 
Methods inherited from class joeq.Linker.ELF.Section
getHeaderSize, getName, setIndex, writeHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getEntSize

public int getEntSize()
Specified by:
getEntSize in class Section

getInfo

public int getInfo()
Specified by:
getInfo in class Section

getAddrAlign

public int getAddrAlign()
Specified by:
getAddrAlign in class Section

getLink

public int getLink()
Specified by:
getLink in class Section

getSize

public int getSize()
Specified by:
getSize in class Section

getType

public int getType()
Specified by:
getType in class Section

getFlags

public int getFlags()
Overrides:
getFlags in class Section

getAddr

public int getAddr()
Overrides:
getAddr in class Section

getIndex

public int getIndex()
Overrides:
getIndex in class Section

setName

public void setName(String name)
Overrides:
setName in class Section

setAddr

public void setAddr(int addr)
Overrides:
setAddr in class Section

setWrite

public void setWrite()
Overrides:
setWrite in class Section

clearWrite

public void clearWrite()
Overrides:
clearWrite in class Section

setAlloc

public void setAlloc()
Overrides:
setAlloc in class Section

clearAlloc

public void clearAlloc()
Overrides:
clearAlloc in class Section

setExecInstr

public void setExecInstr()
Overrides:
setExecInstr in class Section

clearExecInstr

public void clearExecInstr()
Overrides:
clearExecInstr in class Section

writeData

public void writeData(ELF file)
               throws IOException
Specified by:
writeData in class Section
Throws:
IOException

load

public void load(Section.UnloadedSection s,
                 ELF file)
          throws IOException
Specified by:
load in class Section
Throws:
IOException


Copyright © 2001-2005 John Whaley. All Rights Reserved.