mirror of
https://github.com/D4C1-Labs/Flipper-ARF.git
synced 2026-04-01 01:25:57 +00:00
17 lines
364 B
C
17 lines
364 B
C
#pragma once
|
|
|
|
#include <elf.h>
|
|
#include <stdbool.h>
|
|
|
|
/**
|
|
* @brief Interface for ELF loader to resolve symbols
|
|
*/
|
|
typedef struct ElfApiInterface {
|
|
uint16_t api_version_major;
|
|
uint16_t api_version_minor;
|
|
bool (*resolver_callback)(
|
|
const struct ElfApiInterface* interface,
|
|
uint32_t hash,
|
|
Elf32_Addr* address);
|
|
} ElfApiInterface;
|