[PATCH] D71740: [msan] Intercept qsort, qsort_r.

Evgenii Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 20 17:21:48 PST 2019


eugenis added a comment.

In D71740#1793281 <https://reviews.llvm.org/D71740#1793281>, @krytarowski wrote:

> If possible, it would be nice to follow up with heapsort(3) and mergesort(3).


Would be nice, but on gnu/linux these functions are in libbsd.so; if we provide an interceptor then we must link the implementation as well to not confuse configure-style checks. This would make all sanitized binaries on linux link libbsd.so even if they don't use it... I'm not sure that's OK.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D71740/new/

https://reviews.llvm.org/D71740





More information about the llvm-commits mailing list