1*94830eb2SIngo Weinhold /* 2*94830eb2SIngo Weinhold * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de. 3*94830eb2SIngo Weinhold * Distributed under the terms of the MIT License. 4*94830eb2SIngo Weinhold */ 5*94830eb2SIngo Weinhold #ifndef ELF_LOAD_IMAGE_H 6*94830eb2SIngo Weinhold #define ELF_LOAD_IMAGE_H 7*94830eb2SIngo Weinhold 8*94830eb2SIngo Weinhold #include "runtime_loader_private.h" 9*94830eb2SIngo Weinhold 10*94830eb2SIngo Weinhold 11*94830eb2SIngo Weinhold status_t parse_elf_header(struct Elf32_Ehdr* eheader, int32* _pheaderSize, 12*94830eb2SIngo Weinhold int32* _sheaderSize); 13*94830eb2SIngo Weinhold status_t load_image(char const* name, image_type type, const char* rpath, 14*94830eb2SIngo Weinhold image_t** _image); 15*94830eb2SIngo Weinhold 16*94830eb2SIngo Weinhold 17*94830eb2SIngo Weinhold #endif // ELF_LOAD_IMAGE_H 18