[PATCH] D119509: [analyzer] Fix a crash in NoStateChangeVisitor with body-farmed stack frames.

Bal√°zs Benics via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 10 22:54:55 PST 2022


steakhal added a comment.

I dont even see why should the no-state-changed-visitor attempt to do anything with that call. It should have disarm itself when it reaches the allocation. It its not the case, we should probably consider fixing that as well in a followup.
Please consider rearranging the code to make it possible for the synthetized callee to actually deallocate the memory.


Repository:
  rC Clang

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

https://reviews.llvm.org/D119509



More information about the cfe-commits mailing list