<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/compiler-rt/test/asan/TestCases/zero_alloc.cpp, branch users/mingmingl-llvm/samplefdo-profile-format</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>[asan] Change zero_alloc.cpp testcase to use stdlib.h, re-enable on Mac (#156490)</title>
<updated>2025-09-02T19:48:31+00:00</updated>
<author>
<name>Thurston Dang</name>
<email>thurston@google.com</email>
</author>
<published>2025-09-02T19:48:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e2a8b9862c09acb5ae065718bbd73485da21172b'/>
<id>e2a8b9862c09acb5ae065718bbd73485da21172b</id>
<content type='text'>
Avoid build breakage on Mac (reported at
https://github.com/llvm/llvm-project/pull/155943#issuecomment-3244593484)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Avoid build breakage on Mac (reported at
https://github.com/llvm/llvm-project/pull/155943#issuecomment-3244593484)</pre>
</div>
</content>
</entry>
<entry>
<title>Mark asan/TestCases/zero_alloc.cpp unsupported on Mac for now</title>
<updated>2025-09-02T09:46:04+00:00</updated>
<author>
<name>Hans Wennborg</name>
<email>hans@chromium.org</email>
</author>
<published>2025-09-02T09:36:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a6bd36eb71cf8ad281311f6ea1428a04e8783382'/>
<id>a6bd36eb71cf8ad281311f6ea1428a04e8783382</id>
<content type='text'>
It's failing due to the malloc.h include, see comment on
https://github.com/llvm/llvm-project/pull/155943
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's failing due to the malloc.h include, see comment on
https://github.com/llvm/llvm-project/pull/155943
</pre>
</div>
</content>
</entry>
<entry>
<title>[asan] Detect dereferencing zero-alloc as heap buffer overflow (#155943)</title>
<updated>2025-08-29T17:19:47+00:00</updated>
<author>
<name>Thurston Dang</name>
<email>thurston@google.com</email>
</author>
<published>2025-08-29T17:19:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b3452d90b043a398639e62b0ab01aa339cc649de'/>
<id>b3452d90b043a398639e62b0ab01aa339cc649de</id>
<content type='text'>
When a zero-byte allocation is requested, ASan actually allocates 1-byte
for compatibility. This change poisons that byte, to detect
dereferences.

Also updates the test from #155933</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a zero-byte allocation is requested, ASan actually allocates 1-byte
for compatibility. This change poisons that byte, to detect
dereferences.

Also updates the test from #155933</pre>
</div>
</content>
</entry>
<entry>
<title>[asan] Add test for deferencing zero-sized malloc/calloc (#155933)</title>
<updated>2025-08-28T22:48:52+00:00</updated>
<author>
<name>Thurston Dang</name>
<email>thurston@google.com</email>
</author>
<published>2025-08-28T22:48:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e502768dbc8214b927d952505ea9a31fe50dee95'/>
<id>e502768dbc8214b927d952505ea9a31fe50dee95</id>
<content type='text'>
ASan fails to catch this, because 0-byte allocations are converted into
1-byte allocations.

Bug originally reported by dvyukov</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ASan fails to catch this, because 0-byte allocations are converted into
1-byte allocations.

Bug originally reported by dvyukov</pre>
</div>
</content>
</entry>
</feed>
