rem: insert_image_in_list(image);
add: register_elf_image(image);
context: insert_preloaded_image(struct preloaded_image *preloadedImage){	struct Elf32_Ehdr *elfHeader;	struct elf_image_info *image;	status_t status;	elfHeader = (struct Elf32_Ehdr *)malloc(sizeof(struct Elf32_Ehdr));	if (elfHeader == NULL)		return B_NO_MEMORY;	memcpy(elfHeader, &preloadedImage->elf_header, sizeof(struct Elf32_Ehdr));	status = verify_eheader(elfHeader);	if (status < B_OK)		goto error1;	image = create_image_struct();	if (image == NULL) {		status = B_NO_MEMORY;		goto error1;	}	image->vnode = NULL;	image->eheader = elfHeader;	image->name = strdup(preloadedImage->name);	image->dynamic_ptr = preloadedImage->dynamic_section.start;	image->regions[0] = preloadedImage->text_region;	image->regions[1] = preloadedImage->data_region;	status = elf_parse_dynamic_section(image);	if (status < B_OK)		goto error2;	status = elf_relocate(image, "");	if (status < B_OK)		goto error2;	insert_image_in_list(image);	return B_OK;error2:	free(image);error1:	free(elfHeader);	return status;}