| Index: courgette/disassembler_elf_32.h
|
| diff --git a/courgette/disassembler_elf_32.h b/courgette/disassembler_elf_32.h
|
| index 110dd717edc864d8f8370c6665afefa365702b4a..8483ce3b54903a1b35f2839a796cf5b0e573feec 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;
|
|
|