<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/63196>63196</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Update clang_rt malloc hooks for Android
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          jschwartzentruber
      </td>
    </tr>
</table>

<pre>
    We have been trying to use ASan on Android to find memory errors in Firefox, but frequent startup crashes made this infeasible. One of the observations made by @glandium is:

> ... clang runtime for android is outdated and probably nobody uses ASan on recent android. For instance, the malloc hooks the runtime uses have been removed from Android several releases ago...

The malloc interceptor appears not to have been updated since Android L preview (2014).


Related firefox issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1658818
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxUU81upDgQfhpzKQWB3RD6wKF3s5xWWml_tMeogAKcMTZTtrun8_Qj05305GJLJX_1_VQZvdezJWpF9ZuoXjKMYXHcvvlhuSCHd7KBY0-c9W68tv8TLHgm6IksBL5qO0NwED3B6R-04Cyc7MhOj6k8aTvCSqvjKxCzYw_aQqeZJvdDyN-hjwEmpu-RbAAfkEPcYGD0C3lYcSQIi06gidDr3lAOf1kCN0FYCFzvic8YtLP31_0VxKGYDdpRxxW0F-okihdRfJzqD8jzHAaDdgaONuiVYHIMeFetPbgYRgw0phps7HrszRWsSwEkp_7TKtOQhN-xOXSOQVsf0A6U7CWRKxrjBlic--b3wgfr3ukRJtPqzjTCxG79zNDTmRgNMBnC9B5nl-f5r5b-fXBoG4gH2kLys22E7MG6kCbx4InbzZzXdqBPoj9hYzpruoCQjSzKg5DHLzS3828yO3i6jRC095GEOsESwraHLTshuz7O79oYzFd3ux3PQnZ-cZfXPs75MGuhOj0K9VLWVdOUTTa2ajyqI2bUlnVTy0NxVFW2tHU5Vc9TJY_1oJ4LNYyK-qpStSrLwzSMmOlWFlIVddGUdVmpIpcNYjE2KLGuJ0lKHApaUZvcmPOalGS76rZW5bHODPZk_L78Ulq63C1Jmf4Ctwnz1MfZi0NhtA_-0SXoYKj9b4_ztlCvHL6OOy3WPeEssmm_pjTrsMQ-H9wqZJfa3q-njd0bDUHIbhfjhex2sT8DAAD__1p2O-Y">