diff options
author | Dmitry Sivachenko <demon@FreeBSD.org> | 2002-09-01 20:43:15 +0000 |
---|---|---|
committer | Dmitry Sivachenko <demon@FreeBSD.org> | 2002-09-01 20:43:15 +0000 |
commit | e838b55db4a0f1daf3d94cd49d3b3ba107edf269 (patch) | |
tree | 8c36b855fb3a9c13a4f1e14f2b150349696d7024 /devel/memcheck | |
parent | Update to cyrus-imapd-2.1.9. (diff) |
New port: memcheck -- Memory Allocation Checker.
Notes
Notes:
svn path=/head/; revision=65448
Diffstat (limited to 'devel/memcheck')
-rw-r--r-- | devel/memcheck/Makefile | 24 | ||||
-rw-r--r-- | devel/memcheck/distinfo | 1 | ||||
-rw-r--r-- | devel/memcheck/pkg-comment | 1 | ||||
-rw-r--r-- | devel/memcheck/pkg-descr | 16 | ||||
-rw-r--r-- | devel/memcheck/pkg-plist | 5 |
5 files changed, 47 insertions, 0 deletions
diff --git a/devel/memcheck/Makefile b/devel/memcheck/Makefile new file mode 100644 index 000000000000..fe5ad805f518 --- /dev/null +++ b/devel/memcheck/Makefile @@ -0,0 +1,24 @@ +# Ports collection makefile for: memcheck +# Date created: Mon Sep 2, 2002 +# Whom: Dmitry Sivachenko <demon@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= memcheck +PORTVERSION= 0.1.1 +CATEGORIES= devel +MASTER_SITES= http://www.sound.net/~hald/projects/memcheck/ + +MAINTAINER= demon@FreeBSD.org + +USE_REINPLACE= yes +GNU_CONFIGURE= yes +INSTALLS_SHLIB= yes + +post-patch: +.for file in memcheck.c tmemcheck.c + @${REINPLACE_CMD} -e 's#<malloc.h>#<stdlib.h>#g' ${WRKSRC}/${file} +.endfor + +.include <bsd.port.mk> diff --git a/devel/memcheck/distinfo b/devel/memcheck/distinfo new file mode 100644 index 000000000000..39f309974bde --- /dev/null +++ b/devel/memcheck/distinfo @@ -0,0 +1 @@ +MD5 (memcheck-0.1.1.tar.gz) = 42223a9dba7e44b2090e975810e3b072 diff --git a/devel/memcheck/pkg-comment b/devel/memcheck/pkg-comment new file mode 100644 index 000000000000..02e928373404 --- /dev/null +++ b/devel/memcheck/pkg-comment @@ -0,0 +1 @@ +Memory Allocation Checker diff --git a/devel/memcheck/pkg-descr b/devel/memcheck/pkg-descr new file mode 100644 index 000000000000..ad5c62fea35c --- /dev/null +++ b/devel/memcheck/pkg-descr @@ -0,0 +1,16 @@ +This is Memory Allocation Checker package. Main features: +* Fault on pointer overrun (read or write). +* Fault on freed pointer dereference (read or write). +* Log double free or realloc of already freed pointer. +* Log memory not freed on exit. +* Check for pointer underrun on free/realloc. +* Optionally reverse behaviour of overrun and underrun. +* Optionally "churn" reallocations. Always return a different pointer. +* Optionally log pointer overruns instead of faulting. +* Optionally return freed memory to system. (May hurt checking for freed + pointer usage). +* Very small performance impact. +* Large memory footprint impact. +* Includes a validation test suite to test correctness of libmemcheck. + +WWW: http://www.sound.net/~hald/projects/memcheck/ diff --git a/devel/memcheck/pkg-plist b/devel/memcheck/pkg-plist new file mode 100644 index 000000000000..3d13f0c1058d --- /dev/null +++ b/devel/memcheck/pkg-plist @@ -0,0 +1,5 @@ +include/memcheck.h +lib/libmemcheck.so.1 +lib/libmemcheck.so +lib/libmemcheck.la +lib/libmemcheck.a |