1 Star 0 Fork 0

SmartSmallBoy/elfpack

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
elf_package.h 563 Bytes
一键复制 编辑 原始数据 按行查看 历史
#ifndef __ELF_PACKAGE_H
#define __ELF_PACKAGE_H
#define PACK_NAME "EPK_DATA_SECTION"
#define PACK_NAME_MAX_LEN 128
#define NT_PACK_TYPE(type) ((type) | 0xf0)
#define NT_PACK_NONE NT_PACK_TYPE(ET_NONE)
#define NT_PACK_REL NT_PACK_TYPE(ET_REL)
#define NT_PACK_EXEC NT_PACK_TYPE(ET_EXEC)
#define NT_PACK_DYN NT_PACK_TYPE(ET_DYN)
#define NT_PACK_CORE NT_PACK_TYPE(ET_CORE)
#define NT_PACK_END 0xff
#ifndef false
#define false 0
#endif
#ifndef true
#define true 1
#endif
int elf_pack(char *soufile, char *file);
int elf_unpack(char *soufile, char *dir);
#endif
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/SmartSmallBoy/elfpack.git
git@gitee.com:SmartSmallBoy/elfpack.git
SmartSmallBoy
elfpack
elfpack
master

搜索帮助