If we allocate memory, the extent of the MemRegion will be the symbolic
value of the size parameter. This way, if that symbol gets constrained,
the extent will be also constrained.
This test demonstrates that the extent is indeed the same symbol.
Differential D99959
[analyzer][NFC] Add tests for extents ClosedPublic Authored by steakhal on Apr 6 2021, 8:00 AM.
Details Summary If we allocate memory, the extent of the MemRegion will be the symbolic This test demonstrates that the extent is indeed the same symbol.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Apr 6 2021, 9:58 AM Closed by commit rGf0e102c1a39f: [analyzer][NFC] Add tests for extents (authored by Balazs Benics <balazsbenics@sigmatechnology.se>). · Explain WhyApr 7 2021, 4:45 AM This revision was automatically updated to reflect the committed changes.
Diff 335511 clang/test/Analysis/malloc.c
|