summaryrefslogtreecommitdiffstats
path: root/courgette/disassembler_elf_32.h
diff options
context:
space:
mode:
Diffstat (limited to 'courgette/disassembler_elf_32.h')
-rw-r--r--courgette/disassembler_elf_32.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/courgette/disassembler_elf_32.h b/courgette/disassembler_elf_32.h
index 110dd71..8483ce3 100644
--- a/courgette/disassembler_elf_32.h
+++ b/courgette/disassembler_elf_32.h
@@ -116,10 +116,6 @@ class DisassemblerElf32 : public Disassembler {
return OffsetToPointer(SectionHeader(id)->sh_offset);
}
- Elf32_Word SectionBodySize(int id) const {
- return SectionHeader(id)->sh_size;
- }
-
// Misc Segment Helpers
Elf32_Half ProgramSegmentHeaderCount() const {
@@ -131,26 +127,6 @@ class DisassemblerElf32 : public Disassembler {
return program_header_table_ + id;
}
- // The virtual memory address at which this program segment will be loaded
- Elf32_Addr ProgramSegmentMemoryBegin(int id) const {
- return ProgramSegmentHeader(id)->p_vaddr;
- }
-
- // The number of virtual memory bytes for this program segment
- Elf32_Word ProgramSegmentMemorySize(int id) const {
- return ProgramSegmentHeader(id)->p_memsz;
- }
-
- // Pointer into the source file for this program segment
- Elf32_Addr ProgramSegmentFileOffset(int id) const {
- return ProgramSegmentHeader(id)->p_offset;
- }
-
- // Number of file bytes for this program segment. Is <= ProgramMemorySize.
- Elf32_Word ProgramSegmentFileSize(int id) const {
- return ProgramSegmentHeader(id)->p_filesz;
- }
-
// Misc address space helpers
CheckBool IsValidRVA(RVA rva) const WARN_UNUSED_RESULT;