Increase limit on number of ELF program / section headers
This commit is contained in:
parent
4f6a845fb4
commit
4f21d592f3
|
@ -32,8 +32,8 @@ static const uint8_t elf32_id[] = {
|
||||||
ELFMAG0, ELFMAG1, ELFMAG2, ELFMAG3, ELFCLASS32
|
ELFMAG0, ELFMAG1, ELFMAG2, ELFMAG3, ELFCLASS32
|
||||||
};
|
};
|
||||||
|
|
||||||
#define MAX_PHDRS 32
|
#define MAX_PHDRS 128
|
||||||
#define MAX_SHDRS 128
|
#define MAX_SHDRS 512
|
||||||
|
|
||||||
struct elf32_info {
|
struct elf32_info {
|
||||||
Elf32_Ehdr file_ehdr;
|
Elf32_Ehdr file_ehdr;
|
||||||
|
|
Loading…
Reference in New Issue