The ddpi_space_create operation creates a Ddpi_Space object to represent a program address space and returns a descriptor that acts as a handle for accessing the space. The address space may be either an actual machine or post-mortem image. Alternative Ddpi_Info modes allow a single space to represent an application-executable module or a CU-level object file.
When you call the ddpi_space_create operation, and pass a character string as the parameter name, the operation copies the content of the name parameter and stores it to a copy. After the operation returns the copy, you can deallocate the original name to save storage.
int ddpi_space_create(
Ddpi_Info info,
Ddpi_Space_Type type,
char* name,
Ddpi_ASID asid,
Ddpi_ALET alet,
Dwarf_Addr limit,
Ddpi_GS_Handler gs_handler,
Ddpi_SS_Handler ss_handler,
int user_area_len,
Ddpi_Space* ret_space,
Ddpi_Error* error);