You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SWDEV-563823][Compiler-rt][ASan] Simplify API Logic
'asan_hsa_amd_ipc_memory_create'.
- Use reinterpret_cast<uptr> for pointer arithmetic.
- Allow only valid values of ptr and len in non-ASan mode.
- ptr == Actual agentBaseAddress && len ==
original_len_used_in_alloc
- Allow only valid values of ptr and len in ASan mode. pinfo resembles
to pointer info extracted in GetBlockBegin function.
- ptr == pinfo.agentBaseAddress && len == pinfo.sizeInBytes
- ptr == original_ptr_returned_by_ASAN && len ==
original_len_used_in_alloc
0 commit comments