Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: john@iastate.edu (John Hascall)
Subject: YET ANOTHER New & Improved "trace" (aka truss)
Date: 1998/04/24	[thread overview]
Message-ID: <6hr3do$mgh$1@news.iastate.edu> (raw)
In-Reply-To: 6hlnah$1be$1@news.iastate.edu


ftp://ftp.iastate.edu/pub/unix/digital_unix/trace/alpha-trace-1.32.tar.Z

Changes since 1.31:

 + Better handling of "BSD4.4" sockaddr struct's (_SOCKADDR_LEN).
 + Compiles cleanly under D-Unix 4.0b (as well as 3.2x and 4.0d)
 + New command line flag:   -c bytes   [default 64k]
   to limit the number of bytes malloc'd and copied out
   of the traced processes' address space.  For example,
   this mistake:

     struct sockaddr_in sin;
     int slen = sizeof(sin);

     fillin(sin);
     bind(sockFd, &sin, &slen);     /* should be bind(sockFd, &sin, slen); */

   passing the pointer to slen, rather than slen itself
   would cause trace to try to malloc and then read a
   very large number of bytes to decode 'sin', often
   causing trace to give up or die.

John
-- 
John Hascall, Software Engr.        Shut up, be happy.  The conveniences you
ISU Computation Center              demanded are now mandatory. -Jello Biafra
mailto:john@iastate.edu
http://www.cc.iastate.edu/staff/systems/john/welcome.html  <-- the usual crud



  parent reply	other threads:[~1998-04-24  4:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-22  4:00 New & Improved "trace" (aka truss) John Hascall
1998-04-22  4:00 ` Kevin Oberman
1998-04-23  4:00   ` John Hascall
1998-04-23  4:00     ` Kevin Oberman
1998-04-24  4:00       ` Bob Koehler
1998-04-24  4:00 ` John Hascall [this message]
1998-04-30  4:00   ` YES, YET ANOTHER " John Hascall
read-only archive

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