Mail Archives: djgpp-announce/1998/11/13/18:30:04
The purpose of this message is to announce the release of
MSS - Memory Supervision System version 1.2
MSS Version 1.2 has no new features over version 1.1. The only new
in this release is that it includes support for Borland C++ 5.02,
and also some lines in the code that was not ANSI C compliable
were changed.
MSS version 1.2 can be downloaded from:
http://hem1.passagen.se/blizzar/mss/index.html
And it should also be present on simtelnet in a few days in the
directory /pub/simtelnet/gnu/djgpp/v2tk/mss12.zip.
(MSS is however not a DJGPP specific package, it should work
with any ANSI compliant compiler out there).
-----------------------------------------------------------------------------
A small piece of the Introduction section of the documentation follows:
During the development of C/C++ programs dynamic memory is often allocated
using either the standard C malloc family of functions or the C++ operators
new and delete. When allocating and using dynamical memory, the programmer
often make mistakes which might lead to errors during program execution, so
called bugs. This could be that the program "forgets" to delete/free some
memory (so called memory leaks), tries to access more memory than it
allocated and a lot more. Discovering and tracking these errors is a very
difficult task, and often the errors go by without the programmer noticing
them because the program may appear to work correctly anyway. Therefore MSS
was developed, to assist programmers in detecting such bugs and producing
better programs.
MSS is a free (GPL) C/C++ library that helps you in the infamious task of
finding bugs related to dynamical memory during the development of your
programs. With MSS you will easily be able to detect the following bugs in
your programs:
* Memory leaks
* Use of uninitialized memory
* Zero-length allocations
* Out of range block accesses
* Bogus or repeated deallocations
* Unsuccessful allocations
* "Wild" or corrupted pointers
* And more...
MSS can also give you a lot of information about the state of the dynamical
memory allocated by your program at any point during the execution, for
example:
* Total allocated memory
* Maximum allocated memory since program start
* Number of specific allocation/deallocation functions successfully
called
* Number of blocks allocated
* List of blocks allocated, including the module, function and line
number where the allocation took place.
MSS is also very easy to use. Your current sources will only require minor
changes, to enable the usage of MSS.
-----------------------------------------------------------------------------
MSS was written using GCC 2.7.2.1, and has also been tested using GCC
2.8.0, GCC 2.8.1 and EGCS-1.1, Borland C++ 5.02 and it compiles without any
problems on these compilers. This also goes for the excellent DJGPP, the DOS-
port of GCC. If your compiler is a 32-bit compiler for the i386 family of
processors, building MSS should be no problems, other platforms are untested,
but any reports of successful (or unsuccessful) usage of MSS are very welcome.
-----------------------------------------------------------
Peter Palotas alias Blizzar <blizzar AT hem1 DOT passagen DOT se>
A brief description of DJGPP:
NEVER BEFORE HAVE SO FEW DONE SO MUCH FOR SO MANY!
DJGPP is Just a Great Programming Pleasure
Do you want assistance when debugging your C/C++ programs?
Look at http://hem1.passagen.se/blizzar/mss/index.html
-----------------------------------------------------------
- Raw text -