<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/63080>63080</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
`__builtin_memmove` isn't checked by UBSan
</td>
</tr>
<tr>
<th>Labels</th>
<td>
compiler-rt:ubsan
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
philnik777
</td>
</tr>
</table>
<pre>
When passing `nullptr`s to `std::memmove`, UBSan complains. When using `__builtin_memmove` instead, UBSan is happy with it, even though it is still UB (AFAICT).
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx0kT2P3CAQhn_NuEFr4fF3QeG9yFLq5JRyhe2JIYexZYaN9t9HbBJtdRVimPfRqwcdgl09kYL6CvWXTEc2-6kOY523H23bZtO-PNQPQ14cadmvAhrpo3MHn9DIIHhPk8ALlAOUw0bbtt8JGgn4Jt6v37QX874dTlsfcvEkxf-c222K1rH1t1dMWB-Y9PKK2yCMPo6H-G3ZCMvphe7kBZs9rmmSVgJb58T7VQB2wzh8ffsO2OfZosqlL3udkSqarm6rqqi7zKilLwtEbKZ5bquuxx6baunmWTYSqdaYWYUSy3RFLOq6yyddVxUuLRW9lj-lhErSpq3Lnbtv-X6umQ0hkmpK2cnM6YlceHpFTAKso_NyMpRDnIL2gJiEnyqlL1NcA1TS2cDhxWPLjtSnnoIHbFnMhuYPWsT0-Osri6dThvkI6UdwBBxXyyZO-bxvgGPC_zsux7n_opkBx2f3ADg-6_8JAAD__1nWqrM">