Skip to content
Commit 4c2dd111 authored by Evgeniy Stepanov's avatar Evgeniy Stepanov
Browse files

[msan] Unpoison dlpi_phdr in dl_iterate_phdr.

In some cases, PHDR table is allocated with malloc() by the linker
instead of being mapped from file. It needs to be unpoisoned in the
dl_iterate_phdr callback then.

This happens when program headers are not part of any loadable ELF
segment.

llvm-svn: 247100
parent 63eaeca7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment