小编Eri*_*ric的帖子

readelf:错误:不是ELF文件 - 它在开始时有错误的魔术字节

我构建了一个程序,它运行良好(我的意思是我可以运行这个程序).但是当我使用"readelf"来检查是否有调试信息时,会出现错误:

readelf: Error: Not an ELF file - it has the wrong magic bytes at the start    
readelf: Error: test/select: Failed to read file header
Run Code Online (Sandbox Code Playgroud)

我的linux发行版是Ubuntu-12.有人可以帮帮我吗?

elf readelf

7
推荐指数
1
解决办法
2万
查看次数

标签 统计

elf ×1

readelf ×1