Linux上的可执行格式列表 [英] List of executable formats on Linux

查看:98
本文介绍了Linux上的可执行格式列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在哪里可以找到Linux系统上批准/支持的可执行格式的列表?我希望找到一个包含 ELF Shebang a.out 等的列表. 我已经知道可以在/proc/sys/fs/binfmt_misc中找到用户添加的受支持格式的列表,但是我想查看系统中的内置格式.我在哪里可以得到?

Where do I find the list of approved/supported executable formats on my Linux system? I am expecting to find a list that contains ELF, Shebang, a.out etc. I already know that I can find in /proc/sys/fs/binfmt_misc a list of user added supported formats, but I want to see the built-in formats in the system. Where can I get that?

推荐答案

内核配置文件包含名为可执行文件格式/仿真的部分.例如,在某些Linux发行版(例如Fedora)上,该文件名为/boot/config-`uname -r` .

The kernel configuration file has a section named Executable file formats / Emulations. The file is named /boot/config-`uname -r` on some Linux distributions like Fedora for example.

Some of the available options for 3.14.12 x86 (64 bit) are:

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆