[Bug analyzer/106301] RFE: analyzer support of mmap

2022-11-15 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106301 Bug 106301 depends on bug 106302, which changed state. Bug 106302 Summary: RFE: provide a way for -fanalyzer to use target flags https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106302 What|Removed |Added

[Bug analyzer/106301] RFE: analyzer support of mmap

2022-07-14 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106301 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug analyzer/106301] RFE: analyzer support of mmap

2022-07-14 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106301 --- Comment #1 from David Malcolm --- Potentially we could also track the allocated region, and complain if it is leaked. I think this would require handling of mmap/munmap in sm-malloc.cc (so that we can detect leaks), and support in the