Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* User headspace and Third Degree
@ 2003-09-30 17:15 SpiderLittle
  0 siblings, 0 replies; only message in thread
From: SpiderLittle @ 2003-09-30 17:15 UTC (permalink / raw)


I can't seem to get the Third Degree "-uninit heap+stack" option to work.
Third runs without any errors, but the uninitialized memory bugs do not show
up in the *.3log file
when I run the instrumented program.

 I put these lines in the program

    int x;
    int y = 9;
    y = x + y;

and instrumented the program "mav" with

third -use srcv -use srcm -use includev -use includem  -invalid -uninit
heap+stack -ignore 'tfinput.c^scan_t objects' mav

and ran the program.  The options appear in the *.log file as follows

Third Degree version 5.2
mav.third run by mccalke on edalf1 at Tue Sep 30 11:53:51 2003

//////////////////////////////  Options  //////////////////////////////
-----------------------------------------------------------------------
-use srcv -use srcm -use includev -use includem -invalid
-uninit heap+stack -ignore tfinput.c^scan_t objects
-----------------------------------------------------------------------


but there is no mention of any invalid or uninitialized accesses!  The lines
of code I inserted are unrelated to the function being ignored in the third
command.  Am I calling third incorrectly, or does the program have to
malfunction in order for these kinds
of error to be detected?

Thanks,
Kurt





-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----==  Over 100,000 Newsgroups - 19 Different Servers! =-----


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-09-30 17:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-30 17:15 User headspace and Third Degree SpiderLittle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox