Télécharger la liste

Description du projet

mpatrol is a link library that attempts to diagnose run-time errors that are caused by the wrong use of dynamically allocated memory, including writing to free memory and memory leaks. Along with providing a comprehensive and configurable log of all dynamic memory operations (such as malloc(), operator new, etc.) that occurred during the lifetime of a program, the mpatrol library performs extensive checking to detect any misuse of dynamically allocated memory and has support for both memory allocation profiling and tracing. A wide variety of library settings can also be changed at run-time via an environment variable, thus removing the need to recompile or relink in order to change the library's behaviour.

Système requise

System requirement is not defined
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.

2001-03-26 04:56
1.4.3

Un nouvel appel - l'option-graphique dans la commande mprof, nouvelle interface graphique - et - verbose options dans la commande mptrace (qui affiche également des statistiques utiles), un correctif pour un bug rare lors de l'affichage du tableau de fuite et graphe d'appel à l'appel sites qui n'ont pas d'associé de symboles, de nouveaux chapitres sur la corruption du tas, les fuites de mémoire, et le portage à la mpatrol manuel, et le déplacement de l'Outil et des sections services publics à l'échelon supérieur.
Tags: Minor feature enhancements
A new --call-graph option in the mprof command, new --gui and --verbose options in the mptrace command (which also displays useful statistics), a fix for a rare bug when displaying the leak table and call graph with call sites which have no associated symbols, new chapters on heap corruption, memory leaks, and porting to the mpatrol manual, and moving the Tools and Utilities sections to the top level.

2001-03-13 19:53
1.4.2

Nouveaux ajouts comprennent l'option LEAKTABLE, le __mp_iterateall () la fonction, la variable globale __mp_errno et une fonction pour obtenir la chaîne de message d'erreur correspondant à un code d'erreur, __mp_init_ * et __mp_fini_ * initialisation et de soutien de la fonction de finalisation. La carte SIM - fichier option a été ajoutée à la commande mptrace, et dmalloc implémentations fonction compatible ont été ajoutés comme un paquet externe. Le soutien pour l'allocation marquée a été fini. Tru64 est maintenant supporté. La bibliothèque n'est plus initialisée sur Linux jusqu'à ce que les variables d'environnement sont en effet mis en place. Un problème de compilation de la version partagée de la bibliothèque mpatrol avec certaines versions de GNU C + + a été fixée.
Tags: Minor feature enhancements
New additions include the LEAKTABLE option, the
__mp_iterateall() function, the __mp_errno global variable and a
function to obtain the error message string corresponding to an
error code, __mp_init_* and __mp_fini_* initialisation and
finalisation function support. The --sim-file option was added
to the mptrace command, and Dmalloc-compatible function
implementations were added as an external package. The support
for marked allocations was finished. Tru64 is now supported.
The library is now no longer initialised on Linux until the
environment variables are fully set up. A problem building the
shared version of the mpatrol library with some versions of GNU
C++ was fixed.

2001-03-01 00:38
1.4.1

Nouvelle __mp_atexit () et __mp_setmark () fonctions, plus de champs aux informations renvoyées par __mp_info (), et de meilleure source d'informations au niveau où __mp_check () est appelée. Une nouvelle erreur FREMRK, un correctif pour un problème qui empêchait const être utilisés lors de la compilation avec un compilateur C + +, a fixé pour un problème lorsque le profilage des réallocations de mémoire et une erreur de frappe qui empêcherait de compilation sur les plates-formes Windows, et des correctifs pour les problèmes namespace std pour set_new_handler () sur les plates-formes Windows. HEAPDIFFSTART () et HEAPDIFFEND () ont été minuscules, et un soutien a été ajouté dans l'outil heapdiff pour les allocations de mémoire marquées. Dbmalloc implémentations fonction compatible ont été ajoutés comme un paquet externe, et le fichier de trace dans l'outil mtrace est automatiquement fermée à la sortie.
Tags: Major bugfixes
New __mp_atexit() and __mp_setmark() functions, more fields to the information returned by __mp_info(), and better source-level information when __mp_check() is called. A new FREMRK error, a fix for a problem which prevented const being used when compiling with a C++ compiler, fixes for a problem when profiling memory reallocations and a typing error which would prevent compilation on Windows platforms, and fixes for std namespace problems for set_new_handler() on Windows platforms. HEAPDIFFSTART() and HEAPDIFFEND() were lowercased, and support was added in the heapdiff tool for marked memory allocations. Dbmalloc-compatible function implementations were added as an external package, and the trace file in the mtrace tool is automatically closed at exit.

2001-02-22 15:00
1.4.0

Cette version inclut libmpalloc à éliminer rapidement toutes les fonctionnalités mpatrol, libmptools qui contient des outils intégrés supplémentaires sur le dessus de la bibliothèque mpatrol, et heapdiff, mgauge, et des paquets mtrace. En outre, C + + ANSI opérateurs sont désormais conforme au standard reallocf () a été ajoutée, beaucoup plus de fonctions d'interface mpatrol notamment la possibilité pour des instantanés du tas et itérer à travers des allocations, une macro Automake mpatrol pour incorporer dans les projets nouveaux ou existants, et de la documentation et manuel archives page sont maintenant distribués avec la distribution mpatrol principal.
Tags: Major feature enhancements
This release includes libmpalloc to quickly remove
all mpatrol functionality, libmptools which
contains additional tools built on top of the
mpatrol library, and heapdiff, mgauge, and mtrace
packages. In addition, C++ operators are now ANSI
standard conforming, reallocf() has been added,
lots more mpatrol interface functions including
allowing snapshots of the heap and iterate across
allocations, an Automake macro for incorporating
mpatrol into new or existing projects, and
documentation and manual page archives are now
distributed with the main mpatrol distribution.

2001-01-30 15:13
1.3.4

Le MP_MALLOC () fonctions de la famille pour enregistrer le nom du type et de la taille d'un type de l'allocation de mémoire, le xmalloc () la famille de fonctions qui ne retournent jamais NULL, un fichier d'entête et sa bibliothèque pour être utilisé mpatrol n'est pas utilisé, FreeBSD, NetBSD , OpenBSD et SunOS appui, la capacité de lire des symboles à partir de fichiers a.out, et la capacité de construire mpatrol comme une bibliothèque partagée sous AIX tout en étant capable de lire les symboles de bibliothèques partagées sur AIX ont été ajoutés. La COFF et lecteurs symbole XCOFF exigent maintenant l'utilisation de la bibliothèque d'objets libld accès aux fichiers. Le comportement du gestionnaire de mémoire insuffisante a été changé pour renouveler automatiquement l'allocation mémoire une fois que le gestionnaire a été appelé. stocke désormais mpatrol informations sur le point de réallocation dernier, plutôt que du point de dotation d'origine. Les pages de manuel sont maintenant également fourni au format HTML.
The MP_MALLOC() family of functions for recording the type name and type size of a memory allocation, the xmalloc() family of functions which never return NULL, a new header file and library for use when mpatrol is not being used, FreeBSD, NetBSD, OpenBSD and SunOS support, the ability to read symbols from a.out files, and the ability to build mpatrol as a shared library on AIX as well as being able to read symbols from shared libraries on AIX have all been added. The COFF and XCOFF symbol readers now require the use of the libld object file access library. The behaviour of the low memory handler has been changed to automatically retry the memory allocation once the handler has been called. mpatrol now stores information about the point of last reallocation rather than the point of original allocation. The manual pages are now also supplied in HTML format.

Project Resources