New user self-registration is disabled due to spam. For an account please email bugs-admin@lists.llvm.org with your e-mail address and full name.

Bug 36752 - ASAN reports heap overflow in llvm-ar
Summary: ASAN reports heap overflow in llvm-ar
Status: NEW
Alias: None
Product: tools
Classification: Unclassified
Component: llvm-ar (show other bugs)
Version: 6.0
Hardware: PC FreeBSD
: P normal
Assignee: Unassigned LLVM Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-15 07:39 PDT by Shawn Webb
Modified: 2018-03-15 08:17 PDT (History)
1 user (show)

See Also:
Fixed By Commit(s):


Attachments
log of buildworld failing on ASAN heap overflow detection in llvm-ar (52.17 KB, text/x-log)
2018-03-15 07:39 PDT, Shawn Webb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Shawn Webb 2018-03-15 07:39:34 PDT
Created attachment 20069 [details]
log of buildworld failing on ASAN heap overflow detection in llvm-ar

We at HardenedBSD have a special feature branch that applies ASAN to every application in base[1]. As such, ASAN gets applied to llvm-ar.

It appears ASAN reports a heap overflow in llvm-ar (we've also switched to llvm-ar as the system's ar/ranlib).

Build log is attached.

[1]: https://github.com/hardenedbsd/hardenedbsd-playground/tree/hardened/current/asan