'\" te .\" Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. .TH libadimalloc 3LIB "9 Apr 2015" "SunOS 5.11" "Interface Libraries" .SH NAME libadimalloc \- Application Data Integrity aware memory allocation library. .SH SYNOPSIS .LP .nf cc [ flag... ] file... -ladimalloc [ library... ] .fi .SH DESCRIPTION .sp .LP Functions in this library provide scalable object-caching memory allocation with multithreaded application support. .sp .LP The \fBlibadimalloc\fR library provides buffer overrun detection, out of bounds pointer detection, use after free and stale pointer errors using the SPARC Application Data Integrity APIs. .sp .LP The \fBlibadimalloc\fR library also provides extensive debugging support, including detection of memory leaks, buffer overruns, multiple frees, use of uninitialized data, use of freed data, and many other common programming errors. For more information, see \fBmdb\fR(1). .SH INTERFACES .sp .LP The shared object \fBlibadimalloc.so.1\fR provides the public interfaces defined below. For more information on shared object interfaces, see \fBIntro\fR(3). .sp .in +2 .nf calloc free malloc memalign realloc valloc .fi .in -2 .sp .sp .LP The shared object also provides the following debugging interfaces. For more information, see \fBadimalloc_debug\fR(3MALLOC). .sp .in +2 .nf adimalloc_debug_init adimalloc_logging_init .fi .in -2 .sp .SH FILES .sp .ne 2 .mk .na \fB\fB/usr/lib/64/libadimalloc.so.1\fR\fR .ad .sp .6 .RS 4n 64-bit shared object .RE .SH ATTRIBUTES .sp .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp .LP The attribute type and attribute values for the functions, \fBcalloc()\fR, \fBfree()\fR, \fBmalloc()\fR, \fBmemalign()\fR, \fBrealloc()\fR, and \fBvalloc()\fR are as follows: .sp .sp .TS tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPEATTRIBUTE VALUE _ Availabilitysystem/library _ Interface StabilityCommitted _ MT-LevelMT-Safe .TE .sp .LP The attribute type and attribute value for the functions, \fBadimalloc_debug_init()\fR and \fBadimalloc_logging_init()\fR is as follows: .sp .sp .TS tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPEATTRIBUTE VALUE _ Interface StabilityVolatile .TE .SH SEE ALSO .sp .LP \fBIntro\fR(3), \fBmalloc\fR(3C), \fBadi\fR(3C), \fBattributes\fR(5), \fBadimalloc_debug\fR(3MALLOC) .SH NOTES .sp .LP This API is Volatile and as such can change at any time and for any reason. See the Volatile entry of the Classifications section of \fBattributes\fR(5).