HomePhabricator

[ELF] - Do not crash on invalid symbol index.

Authored by grimar on Oct 4 2016, 2:02 AM.

Description

[ELF] - Do not crash on invalid symbol index.

Relative to PR30540.

If .symtab has invalid type in elf, no bodies are created and any relocation
that tries to access them will fail.
The same can happen if symbol index is just incorrect.

This was revealed by "id_000005,sig_11,src_000000,op_flip2,pos_420"

Differential revision: https://reviews.llvm.org/D25025

llvm-svn: 283201

Details

Committed
grimarOct 4 2016, 2:02 AM
Differential Revision
D25025: [ELF] - Do not crash on invalid symbol index.
Parents
rGee8dcfbdf797: [ELF] Set max page size to 64K for AArch64
Branches
Unknown
Tags
Unknown