Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.649.712 Times

MemCheck Deluxe 1.2.2

  Date Added: November 04, 2010  |  Visits: 539

MemCheck Deluxe

Report Broken Link
Printer Friendly Version

Product Homepage
Download (89 downloads)

MemCheckDeluxe is an enhanced leak finder/memory profiler. It tracks all the memory allocated, and can report where it was created at the end of a program (memory that would have been leaked). It tracks the largest and smallest chunks allocated, the maximum memory used, and the highest number of allocations at any time. Some headway has been made to allow C++s allocation operators new and delete to be tracked. Usage To use it, #define _MCD_CHECK, include mcd.h, and add mcd.c to the list of source files to build in your project. then, call showMemStats() at any time to see the currently outstanding allocations and usage stats. If you dont define _MCD_CHECK, it compiles away, improving performance. It is probably not a good idea to have some parts of a library use mcd, and not others. Pointers created in non-mcd parts wont be tracked and may confuse mcd, and stuff made in mcd, and freed elsewhere wont be properly cleaned up internally, leading to false leaks. When included, a warning is normally issued, informing the user that performance will be affected. If this gets annoying, define MCD_QUIET to make it go away. When including mcd.h, be sure to make it the last file included, as it redefines some macros. including things after it, especially system headers (stdlib.h, etc) can cause some nasty error messages and it will fail to compile anything. One can define MCD_VERBOSE to have each and every malloc, calloc, realloc, strdup, strndup, and free be written to the RealTime log, including the size, calling function, and line number. The RealTime log defaults to stderr, but can be set to any file you want with _MCD_RealTimeLog(FILE*fp). Just make sure the file is opened for writing/appending, and all verbosity will go there instead. Please note that if you want RealTime log output, you MUST define MCD_VERBOSE. With default settings, free(NULL) will simply return, providing you with an error message in the RealTime log if verbose was enabled. If you are working with a C library that acts differently when free(null) happens, define MCD_FREE_NULL, and it will generate the log message, and then perform the native free. Using this is probably seldom needed, and will probably lead to a crash when/if it happens, providing you with a nice coredump to analyze. Again, this only applies if your C librarys free(null) does something other than simply return. There is a new flag, _MCD_GONE, that will remove all MCD code from the end product. It must be defined when compiling both mcd.c, and any other file that includes mcd.h. Note that defining _MCD_CHECK has no effect when _MCD_GONE is defined. The savings from this are about 15-20k (4-5k stripped)..

Requirements: No special requirements
Platforms: Linux
Keyword: Define Deluxe File Log Mcd Memcheck Memory Programming Quality Assurance And Testing Realtime Usage
Users rating: 0/10

License: Freeware Size: 16.38 KB
More Reviews or Write Review

Programming  -  Acovea 1.0.1
Acovea implements a genetic algorithm for finding the "best" options for compiling programs with the GCC C and C++ compilers. ACOVEA (Analysis of Compiler Options via Evolutionary Algorithm) implements a genetic algorithm to find the "best"...
399.36 KB  
Programming  -  Objectrefenceanalyser 1.01
Objectrefenceanalyser (ora) helps developers find bugs or design errors by showing Java object references in an easy way. It can be plugged into other programs for taking and saving "snapshots" of the object model at runtime for analysis.. Get...
348.16 KB  
Libraries  -  File::Sync 0.09
File::Sync is a Perl access to fsync() and sync() function calls. SYNOPSIS use File::Sync qw(fsync sync); fsync(*FILEHANDLE) or die "fsync: $!"; sync(); use File::Sync qw(fsync); use IO::File; $fh = IO::File->new("> /tmp/foo") or die...
4.1 KB  
Libraries  -  File::LckPwdF 0.01
File::LckPwdF is a Perl module to lock and unlock the passwd and shadow files with lckpwdf and ulckpwdf. SYNOPSIS use File::LckPwdF; (lock_passwd(15)) || (die "Cant lock password file:n$! stopped"); # ... do stuff with the passwd file ......
5.12 KB  
Libraries  -  GNOME Structured File Library 1.14.5
GNOME Structured File Library is a utility library for reading and writing structured file formats. Support for MS OLE2 streams is complete, as is zip import. There is also support for document metadata and some initial work on decompressing VBA...
716.8 KB  
Programming  -  Test-Parser 1.2
Test::Parser is a collection of parsers for different test output file formats. These parse the data into a general purpose data structure that can then be used to create reports, do post-processing analysis, etc. Test-Parser can also export...
54.27 KB  
Programming  -  Delta 2006.07.15
Delta project assists users in minimizing "interesting" files, subject to a test of their "interestingness". A common such situation is when attempting to isolate a small failure-inducing substring of a large input that causes a program to...
31.74 KB  
Programming  -  JTAG-O-MAT 1.2.5
JTAG-O-MAT program provides a simple but highly flexible interface to JTAG hardware. In opposite to similar projects, the focus is on running automatic JTAG sequences. The code has been kept intentionally simple to maintain portability and allow...
102.4 KB  
Programming  -  JTestCase 4.0.0
JTestCase is a 100% pure Java, open-source framework that helps in separating test case data from test case units. Although the following examples show JTestCase used together with junit, please note that JTestCase has no dependence on junit...
655.36 KB  
Programming  -  HOL 4
HOL short from Higher Order Logic is a programming environment in which theorems can be proved and proof tools implemented. Built-in decision procedures and theorem provers can automatically establish many simple theorems. An oracle mechanism...
4.9 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Linux Software  -  SLAX 6.0+
Slax is a modern, portable, small and fast Linux operating system with a modular approach and outstanding design. Despite its small size, Slax provides a wide collection of pre-installed software for daily use, including a well organized graphical...
190 KB  
Linux Software  -  GTK+ 2.5
GTK+, which stands for the GIMP Toolkit, is a library for creating graphical user interfaces for the X Window System. It is designed to be small, efficient, and flexible. GTK+ is written in C with a very object-oriented approach. Language bindings...
60 MB  
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB