cemu
载入中...
搜索中...
未找到
celf.h
浏览该文件的文档.
1
13#ifndef C_ELF_H
14#define C_ELF_H
15
16// ==================================================================== //
17// Include
18// ==================================================================== //
19
20#include <stdint.h>
21#include <stdbool.h>
22#include <elf.h>
23#include "utils.h"
24
25
26// ==================================================================== //
27// Declare: ELF
28// ==================================================================== //
29
30
31char* elf_arch(int arch);
32char* read_section(int fd, Elf64_Shdr sh, int buff);
33u16 find_segment(void *mmaped_elf, int fsize);
34int get_file_size(int fd);
35void* map_elf(char* file_name, void* addr, int* file_len);
36
37
38#endif /* ELF_H */
工具头文件