<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [asan][win] Interceptor failures on Windows Insider builds"
   href="https://bugs.llvm.org/show_bug.cgi?id=48677">48677</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[asan][win] Interceptor failures on Windows Insider builds
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>compiler-rt
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>asan
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>dmajor@mozilla.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>hans@chromium.org, llvm-bugs@lists.llvm.org, nicolasweber@gmx.de, rnk@google.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>In newer Windows Insider builds (20277 to 20231 at least), various system
functions are no longer preceded by sufficient `int 3` padding to insert a
hotpatch. 

This leads to two problems:

1. ASan falls back to using trampolines, which means it needs to scan through
more instructions than before, so it starts seeing encodings that
`GetInstructionSize()` doesn't know about.

That's easy enough to fix, but then...

2. The increased length of trampolines means a higher risk of clobbering a
branch target. In particular, a later part of `ntdll!strrchr` contains a jump
back to the +3 offset, which is now garbage.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>