From: David C. <dcc...@ac...> - 2020-06-16 17:19:39
|
On 6/16/2020 9:52 AM, Kunal Chauhan wrote: > Hi Team, > > > Q.As for a valgrind usage , is valgrind only checks the memory leakage > of code which hits only? > Q As for a can valgrind checks the all the code of binary without > hitting rhe scenerio. In code? > > > Thanks > Kunal The first supposition is correct. Coverage of all code paths requires a set of test cases that execute all code paths. valgrind executes the tested program and reports on memory problems during that execution. -- David Chapman dcc...@ac... Chapman Consulting -- San Jose, CA EDA Software Developer, Expert Witness www.chapman-consulting-sj.com 2018-2019 Chair, IEEE Consultants' Network of Silicon Valley |