Previous section.

Common Security: CDSA and CSSM
Copyright © 1997 The Open Group

NAME

ISL_GetReturnAddress

SYNOPSIS

void * ISL_GetReturnAddress()

or:

void ISL_GetReturnAddress(void *Address)

DESCRIPTION

This function facilitates validating that a caller's return address is inside an authorized, verified module.

If function A calls function B at address R and function B calls ISL_GetReturnAddress, ISL_GetReturnAddress returns value R. Function B can validate that address R is within a verified module which should contain function A using ISL_CheckAddressWithinModule.

This function is platform and compiler dependent. The second form may be substituted on platforms and compilers where the first form cannot be realized.

PARAMETERS

Address (output)

If the first form cannot be realized, the value is returned in the Address argument of the second form.

RETURN VALUE

Pointer to a return address if successful, or NULL if unsuccessful. No value is returned in the second form.

SEE ALSO

ISL_CheckAddressWithinModule

Why not acquire a nicely bound hard copy?
Click here to return to the publication details or order a copy of this publication.
You should also read the legal notice explaining the terms and conditions relating to the CDSA documentation.

Contents Next section Index