Re: [Hint]: valgrind outcome concern

David Chapman <[email protected]>
Newsgroups gmane.comp.debugging.valgrind
Organization Chapman Consulting
Message-ID <[email protected]>
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      [email protected]
     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
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.