Displaying 4 results from an estimated 4 matches for "newloadbytesize".
2012 Jan 24
0
[LLVMdev] load widening conflicts with AddressSanitizer
...]
Once the Attribute::AddressSafety is set by clang (a separate patch),
fixing this bug may look as simple as this:
--- lib/Analysis/MemoryDependenceAnalysis.cpp (revision 148708)
+++ lib/Analysis/MemoryDependenceAnalysis.cpp (working copy)
@@ -323,6 +323,14 @@
!TD.fitsInLegalInteger(NewLoadByteSize*8))
return 0;
+ if (LI->getParent()->getParent()->hasFnAttr(Attribute::AddressSafety)
&&
+ LIOffs+NewLoadByteSize > MemLocEnd) {
+ // We will be reading past the location accessed by the original
program.
+ // While this is safe in a regular build, Ad...
2011 Dec 28
2
[LLVMdev] load widening conflicts with AddressSanitizer
________________________________
From: Kostya Serebryany [kcc at google.com]
Sent: Wednesday, December 28, 2011 2:46 PM
To: Criswell, John T
Cc: llvmdev at cs.uiuc.edu
Subject: Re: [LLVMdev] load widening conflicts with AddressSanitizer
On Wed, Dec 28, 2011 at 12:40 PM, Criswell, John T <criswell at illinois.edu<mailto:criswell at illinois.edu>> wrote:
Dear All,
I think adding
2012 Jan 24
4
[LLVMdev] load widening conflicts with AddressSanitizer
...he real
problem, which seems to be that address sanitizer is overly strict.
Ciao, Duncan.
>
> --- lib/Analysis/MemoryDependenceAnalysis.cpp (revision 148708)
> +++ lib/Analysis/MemoryDependenceAnalysis.cpp (working copy)
> @@ -323,6 +323,14 @@
> !TD.fitsInLegalInteger(NewLoadByteSize*8))
> return 0;
> + if (LI->getParent()->getParent()->hasFnAttr(Attribute::AddressSafety) &&
> + LIOffs+NewLoadByteSize > MemLocEnd) {
> + // We will be reading past the location accessed by the original program.
> + // While this is sa...
2015 Nov 14
2
Inexplicable ASAN report. Code generation bug?
On Thu, Nov 12, 2015 at 8:42 PM, Kostya Serebryany <kcc at google.com> wrote:
> 2 questions:
> - Do you see this with the fresh llvm trunk?
> - Can you prepare a minimized example?
Pretty recent, I updated a couple days ago. I tried to minimize the
attached but at the same time I didn't want to lose too many unions
and casts in case it didn't trigger any more.
$ clang