<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/55059>55059</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[hwasan] LD_PRELOAD=$(absolute_path)/libclang_rt.hwasan-aarch64.so + ls (Bad address)
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
Neilzhangtianhao
</td>
</tr>
</table>
<pre>
LLVM Version: 9.0.1
compiler-rt version: 9.0.0
backport: aarch64
Use Case:
**LD_PRELOAD=$(absolute_path)/libclang_rt.asan-aarch64.so ls**
it's ok
when I use:
**LD_PRELOAD=$(absolute_path)/libclang_rt.hwasan-aarch64.so ls**
it's error: ls: cannot open directory '.': Bad address
I want to kown if I use a wrong method for libclang_rt.hwasan-aarch64.so or it not support LD_PRELOAD=$(absolute_path)/libclang_rt.hwasan-aarch64.so + shell basic commands
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJytUk2P2yAQ_TX4MopFsEnCwYdks5FWSj9UqXuNxgbbNAQswBttf31xnFW3l6pS18LmYx7vvZlx7eRrdTw-f4Jn5YN2lhRbEDnNl4TuCd027jJoo_zCR3j5E0FnRI3NeXA-TseIvulX5RyYv9-DggcMijweyO6BiPsxYdM47k9fvz0ev2z3pNgTVhK2wTo4M0Z1GjD2hAnCDkbXjUHbnXzMMaBd3GXy4MCEmWlm1ZGwdQB3nrfXXll4gjGpF_-p21__SVl57_xUifQkQFo0aK2L4IZkRWqvmuj8KyRwnt4JsEMJKKVXIbyv2xNc0UaIDs7uakG3cyKAcPXOdnBRsXcSWufh7z4hIXSEyUQYh6lT8BHpE7aD0CtjoMagG0g_ygWtvOeQyaqQohCYRR2NqgjfzRSE7z9M3oQ0bd7Xj4ls9KbqYxym4ieWNDod-7HOk8GJ1by8TYvBux-pH2mrQxhVun7gnHKR9ZUQa9o0TS0p58tWSS4lpUtOy0YKseHrzGCtTJjyShllumKUMVqykrKyZCwvN6uW17xcF-1qzVRJSqouqE0-CefOd5mvbh7qsQspaHSI4XcQQ9CdVeqNH8fUbF99Vtr87FNNokbbo8tuvqub6V_-ky5J">