Answer the question
In order to leave comments, you need to log in
Does such a code analyzer exist?
Is there such a tool for analyzing C ++ code that could build a graph (preferably in the UI in the picture), which would show how the allocated memory "travels" along the call stack and from object to object, where the root of this graph was would be the place of its selection (that is, some method / function), and the sheet is the method / function after which it can no longer be accessed.
It would be very convenient to find leaks : Valgrind shows where the memory that leaks is allocated, we build a graph relative to that root (place of allocation) and find a leak.
I know it probably won't, but it's worth a try.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question