V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
aWangami
V2EX  ›  问与答

有啥办法可以区分库/程序的指令集吗?

  •  
  •   aWangami · 2014-12-15 14:13:07 +08:00 · 2486 次点击
    这是一个创建于 3660 天前的主题,其中的信息可能已经有所发展或是发生改变。
    网上查了一下MAC下的liop命令可以,那Linux或者Windows下有啥办法可以不?
    我试了一下file命令,貌似只能区分平台,不能区分指令集的样子

    [file命令的结果]
    busybox-armv4l: ELF 32-bit LSB executable, ARM, version 1, statically linked, stripped
    busybox-armv4tl: ELF 32-bit LSB executable, ARM, EABI4 version 1 (SYSV), statically linked, stripped
    busybox-armv5l: ELF 32-bit LSB executable, ARM, EABI4 version 1 (SYSV), statically linked, stripped
    busybox-armv6l: ELF 32-bit LSB executable, ARM, EABI4 version 1 (SYSV), statically linked, stripped
    busybox-armv7l: ELF 32-bit LSB executable, ARM, EABI4 version 1 (SYSV), statically linked, stripped
    busybox-i486: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, stripped
    busybox-i586: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, stripped
    busybox-i686: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, stripped
    busybox-m68k: ELF 32-bit MSB executable, Motorola m68k, 68020, version 1 (SYSV), statically linked, stripped
    busybox-mips: ELF 32-bit MSB executable, MIPS, MIPS-I version 1 (SYSV), statically linked, stripped
    busybox-mips64: ELF 64-bit MSB executable, MIPS, MIPS64 version 1 (SYSV), statically linked, stripped
    busybox-mipsel: ELF 32-bit LSB executable, MIPS, MIPS-I version 1 (SYSV), statically linked, stripped
    busybox-powerpc: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), statically linked, stripped
    busybox-powerpc-440fp: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), statically linked, stripped
    busybox-sh4: ELF 32-bit LSB executable, Renesas SH, version 1 (SYSV), statically linked, stripped
    busybox-sparc: ELF 32-bit MSB executable, SPARC, version 1 (SYSV), statically linked, stripped
    busybox-x86_64: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, stripped
    1 条回复    2014-12-15 16:58:02 +08:00
    aWangami
        1
    aWangami  
    OP
       2014-12-15 16:58:02 +08:00
    大家能帮忙解答下吗~
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   4936 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 05:39 · PVG 13:39 · LAX 21:39 · JFK 00:39
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.