mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-21 10:13:10 +00:00
e6d22ed147
* fap-loader: load all code and data sections * fap-loader: relocate all code and data sections * fap-loader: remove old elf loader * fap-loader: new jmp call relocation * openocd: resume on detach * fap-loader: trampoline for big jumps * fap-loader: rename cache * fap-loader: init_array support * fap-loader: untangled flipper_application into separate entities * fap-loader: fix debug * fap-loader: optimize section container * fap-loader: optimize key for section container * fap-loader: disable debug log * documentation * F7: bump api symbols version * Lib: cleanup elf_file.c Co-authored-by: あく <alleteam@gmail.com>
12 lines
263 B
C
12 lines
263 B
C
#pragma once
|
|
|
|
#include <elf.h>
|
|
#include <stdbool.h>
|
|
|
|
#define ELF_INVALID_ADDRESS 0xFFFFFFFF
|
|
|
|
typedef struct {
|
|
uint16_t api_version_major;
|
|
uint16_t api_version_minor;
|
|
bool (*resolver_callback)(const char* name, Elf32_Addr* address);
|
|
} ElfApiInterface;
|