Allow any number of contiguous PT_LOAD.

p_vmlinx.cpp p_vmlinx.h

committer: jreiser <jreiser> 1090040793 +0000
This commit is contained in:
John Reiser
2004-07-17 05:06:33 +00:00
parent 212b674bc2
commit ce3d3a850c
2 changed files with 67 additions and 22 deletions
+4 -2
View File
@@ -58,12 +58,14 @@ protected:
// virtual const upx_byte *getLoader() const;
// virtual int getLoaderSize() const;
Elf_LE32_Ehdr ehdri; // from input file
Elf_LE32_Phdr phdri[2]; // from input file
int n_ptload;
unsigned sz_ptload;
Elf_LE32_Phdr *phdri; // from input file
Elf_LE32_Shdr *shdri; // from input file
Elf_LE32_Shdr *p_text;
Elf_LE32_Shdr *p_note0;
Elf_LE32_Shdr *p_note1;
Elf_LE32_Ehdr ehdri; // from input file
};