PayloadFromRPX/source/ElfUtils.h

19 lines
346 B
C
Raw Normal View History

2020-04-26 13:41:39 +02:00
#ifndef ELF_LOADING_H
2020-07-22 15:12:25 +02:00
#define ELF_LOADING_H
2020-04-26 13:41:39 +02:00
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
2020-07-22 15:12:25 +02:00
int32_t LoadFileToMem(const char *relativefilepath, char **fileOut, uint32_t *sizeOut);
uint32_t load_loader_elf_from_sd(unsigned char *baseAddress, const char *relativePath);
2020-04-26 13:41:39 +02:00
#ifdef __cplusplus
}
#endif
2020-07-22 15:12:25 +02:00
#endif /* ELF_LOADING_H */
2020-04-26 13:41:39 +02:00