Intercept _strdup on windows, instead of strdup (which doesn't exist).
I'm not a committer yet, so I'll need someone to merge this for me.
(update: adding llvm-commits, which I didn't know I needed to add manually)
Differential D149876
[sanitizer][asan][win] Intercept _strdup on windows instead of strdup. barcharcraz on May 4 2023, 10:55 AM. Authored by
Details
Intercept _strdup on windows, instead of strdup (which doesn't exist). I'm not a committer yet, so I'll need someone to merge this for me. (update: adding llvm-commits, which I didn't know I needed to add manually)
Diff Detail
Event Timeline
Comment Actions Can someone commit this? It should be good to go and I don't have commit access (long term I will probably be requesting commit access) Comment Actions I forgot to add llvm-commits as a subscriber here (I guess simply setting the repository field correctly is not enough), so it's been stuck on accepted for a while. I think this still applies cleanly though. Could someone commit this? Comment Actions This was merged as 31263211c6a4ef454216f2edbf9b2083a4c1474d, but the magic words to close the revision were missing. |
can you move this to the and of the file?
so you don't need #if around ASAN_INTERCEPT_FUNC