mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-19 00:46:31 +00:00
🆕 检测是否为elf文件
This commit is contained in:
@ -357,4 +357,11 @@ Values in this inclusive range are reserved for OS-specific semantics.
|
||||
#define PF_MASKPROC 0xf0000000 // Unspecified
|
||||
|
||||
|
||||
// --> end ========== program header =========
|
||||
// --> end ========== program header =========
|
||||
|
||||
/**
|
||||
* @brief 校验是否为ELF文件
|
||||
*
|
||||
* @param ehdr
|
||||
*/
|
||||
bool elf_check(void * ehdr);
|
Reference in New Issue
Block a user