hctim wrote:

My assumption is that you have some driver code or preloaded DSO that 
effectively implements `copy_to_amdgpu`, which would do something with the 
symtab.

Can you just make your driver not be asan-ified (either by not building it with 
`-fsanitize=address` or using `__attribute__((no_sanitize("address")))` on the 
`copy_to_amdgpu` function? Then you'd copy the right quantity of data, and the 
access of the redzone would be ignored as there's no instrumentation there.

This seems like a more appropriate thing than making `st_other` symtab entries 
not actually the right size.

https://github.com/llvm/llvm-project/pull/66666
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to