Peter Amstutz on Nostr: nprofile1q…xvklh Wait, wait, wait So it's doing something like, if you called ...
nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpqlksxw7gqy3tyvzvzv4wn0he6045z7k68nhnlec9tz4njkk3xdfmqaxvklh (nprofile…vklh)
Wait, wait, wait
So it's doing something like, if you called memcpy with a dest of NULL, that's gonna crash, so there is no way you could get to the next line, so therefore dest must be non-null, so it prunes the null check branch, but then it went and inlined the function anyway since it was called with constants, and elided memcpy, so instead of crashing it does OMGWTFBBQ?
Wait, wait, wait
So it's doing something like, if you called memcpy with a dest of NULL, that's gonna crash, so there is no way you could get to the next line, so therefore dest must be non-null, so it prunes the null check branch, but then it went and inlined the function anyway since it was called with constants, and elided memcpy, so instead of crashing it does OMGWTFBBQ?