jdoerfert added a comment.

In D85345#2205691 <https://reviews.llvm.org/D85345#2205691>, @aqjune wrote:

> If things go well, I'll add noundef to other library functions such as utime, 
> setenv, unsetenv, .... as well.
> For malloc/calloc/realloc/free, I'll think more about them. I guess it is 
> safe to tag noundef to free's operand, but for malloc I'm not 100% sure...

What I think is helpful is the operand of a free and the return value of a 
{m,c,re}alloc. Arguably, you can give the latter anything but what falls out is 
better not undef or poison ;)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85345/new/

https://reviews.llvm.org/D85345

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to