xazax.hun accepted this revision.
xazax.hun added a comment.

This is a big improvement, I skimmed through it and looks good to me. There 
might be some sneaky ways to change values of fields without mentioning them, 
e.g., casting a pointer to a struct to an array of chars. But I think reasoning 
about those scenarios is probably not something we want to model anytime soon.

Another pesky scenario when we are not doing context sensitive analysis:

  int* pointsToField = getField(myObj);

But this can be handled correctly in a conservative way buy treating `myObj' as 
escaped. Overall, I dont anticipate any blockers at the moment.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140694

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

Reply via email to