[PATCH] D34827: Add end-to-end tests for overflows of byval arguments.

Matt Morehouse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 12 15:29:39 PDT 2017


morehouse added a comment.

The byval attribute is avoided and instead the caller produces a copy of the struct and passes a pointer to it.  So foo() can't do any poisoning to its argument for UAR, and instead main() would have to do it.  However, ASAN currently does not handle this case.   I would suspect that most of the test failures on other architectures are being caused by this same issue.


Repository:
  rL LLVM

https://reviews.llvm.org/D34827





More information about the llvm-commits mailing list