Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: July 2017
 
 

libadimalloc (3LIB)

Name

libadimalloc - Application Data Integrity aware memory allocation library.

Synopsis

cc [ flag... ] file... -ladimalloc [ library... ]

Description

Functions in this library provide scalable object-caching memory allocation with multithreaded application support.

The libadimalloc library provides buffer overrun detection, out of bounds pointer detection, use after free and stale pointer errors using the SPARC Application Data Integrity APIs.

The libadimalloc 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 mdb(1).

Interfaces

The shared object libadimalloc.so.1 provides the public interfaces defined below. For more information on shared object interfaces, see Intro(3).

calloc                        free
malloc                        memalign
realloc                       valloc

The shared object also provides the following debugging interfaces. For more information, see adimalloc_debug(3MALLOC).

adimalloc_debug_init           adimalloc_logging_init

Files

/lib/64/libadimalloc.so.1

64-bit shared object

Attributes

See attributes(5) for descriptions of the following attributes:

The attribute type and attribute values for the functions, calloc(), free(), malloc(), memalign(), realloc(), and valloc() are as follows:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/library
Interface Stability
Committed
MT-Level
MT-Safe

The attribute type and attribute value for the functions, adimalloc_debug_init() and adimalloc_logging_init() is as follows:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Volatile

See Also

Intro(3), malloc(3C), adi (3C) , attributes(5), adimalloc_debug(3MALLOC)

Notes

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 attributes(5).