Manual Page Result
0
Command: AnalHeapBase | Section: 5 | Source: Digital UNIX | File: AnalHeapBase.5.gz
AnalHeapBase(5) File Formats Manual AnalHeapBase(5)
NAME
AnalHeapBase - Obtains the base address of the analysis heap
SYNOPSIS
#include <cmplrs/atom.anal.h>
unsigned long AnalHeapBase(
void );
DESCRIPTION
An Atom tool's analysis routine calls the AnalHeapBase routine to ob-
tain the base address of the analysis heap.
Although Atom's default location for the analysis heap is usually suf-
ficient for most applications, it may sometimes conflict with an ad-
dress range used by the application.
Normally, an address conflict would result in a call to malloc return-
ing zero to the Atom tool's analysis routine. The routine should
check for this case and, if it does occur, ask the tool's user to se-
lect another location for the analysis heap. The -heapbase flag to the
atom command accomplishes this.
RETURN VALUES
The AnalHeapBase routine returns an unsigned long containing the base
address of the analysis heap.
FILES
Header file contain external definitions of routines used by Atom
analysis routines
SEE ALSO
Commands: atom(1)
Programmer's Guide
AnalHeapBase(5)