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      dcchap...@acm.org
    Chapman Consulting -- San Jose, CA
    EDA Software Developer, Expert Witness
    www.chapman-consulting-sj.com
    2018-2019 Chair, IEEE Consultants' Network of Silicon Valley



_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to