commit | 0ee972f080db3df06aed7672c3298a29b8cec082 | [log] [tgz] |
---|---|---|
author | Peter Collingbourne <peter@pcc.me.uk> | Fri Aug 23 23:33:26 2019 +0000 |
committer | Peter Collingbourne <peter@pcc.me.uk> | Fri Aug 23 23:33:26 2019 +0000 |
tree | 25d07f9983160fc8752b4f3339114619ed32fa6e | |
parent | cc53aec3cd3c8e8389175f44fab7a2ff862c536a [diff] |
hwasan: Align n_namesz and n_descsz to 4 when reading notes. There is no requirement for the producer of a note to include the note alignment in these fields. As a result we can end up missing the HWASAN note if one of the other notes in the binary has the alignment missing. Differential Revision: https://reviews.llvm.org/D66692 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@369826 91177308-0d34-0410-b5e6-96231b3b80d8