[compiler-rt] Link shared sanitizer runtime with libresolv for dn_expand (PR #116415)

Chris Apple via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 4 16:49:53 PST 2024


cjappl wrote:

> My understanding is that at least `dn_comp` and `dn_expand` don't block. Other functions in `resolv` can block, but we don't intercept them at the moment.

I would suspect these calls (`dn_comp`, `dn_expand` and others) should be intercepted, but we haven't gotten around to them yet. Any PR welcome to intercept this or other calls, but no worries if you don't want to follow up. 

"blocking" in the case of rtsan means unsafe for real-time code (contains a syscall of any type). I would guess that any query to the DNS subsystem results in a system call.



https://github.com/llvm/llvm-project/pull/116415


More information about the llvm-commits mailing list