# otool -h
//用法
Usage: /Library/Developer/CommandLineTools/usr/bin/otool [-arch arch_type] [-fahlLDtdorSTMRIHGvVcXmqQjCP] [-mcpu=arg] [--version] <object file> ...-f print the fat headers-a print the archive header-h print the mach header-l print the load commands-L print shared libraries used-D print shared library id name-t print the text section (disassemble with -v)-p <routine name>  start dissassemble from routine name-s <segname> <sectname> print contents of section-d print the data section-o print the Objective-C segment-r print the relocation entries-S print the table of contents of a library-T print the table of contents of a dynamic shared library-M print the module table of a dynamic shared library-R print the reference table of a dynamic shared library-I print the indirect symbol table-H print the two-level hints table-G print the data in code table-v print verbosely (symbolically) when possible-V print disassembled operands symbolically-c print argument strings of a core file-X print no leading addresses or headers-m don't use archive(member) syntax-B force Thumb disassembly (ARM objects only)-q use llvm's disassembler (the default)-Q use otool(1)'s disassembler-mcpu=arg use `arg' as the cpu for disassembly-j print opcode bytes-P print the info plist section as strings-C print linker optimization hints--version print the version of 1.查询依赖库
# otool -L a.out2.查看反汇编代码
# otool -tV a.out3.查看头结构
# otool -h a.out4.查看是否加壳
# otool -l a.out | grep crypt
注意:cryptid 1代表加密,cryptid 0代表未加密

Mac otool替代readelf命令相关推荐

  1. 7 款可替代 top 命令的工具!(二)

    作者 | JackTian 来源 | 杰哥的IT之旅 上一篇文章中给大家介绍了<11 款可替代 top 命令的工具!>,今天我再来给大家推荐 7 款可替代 top 命令的工具,看完这两篇替 ...

  2. linux之readelf命令

    1.readelf命令解释       readelf命令用来显示一个或者多个elf格式的目标文件的信息 2.ELF文件类型 可重定位文件:用户和其他目标文件一起创建可执行文件或者共享目标文件,例如l ...

  3. mac下一些终端命令的使用

    mac基础终端命令入门 作为一名编程人员,(叫程序猿显得屌丝,叫攻城狮感觉还达不到),我经常看到许多大神在终端里面进行一些神操作.鉴于此,我今天就百度了一下,别问我为什么不Google,穷屌丝翻不了墙 ...

  4. oracle arp绑定mac地址,使用ARP命令来绑定IP和MAC地址

    使用ARP命令来绑定IP和MAC地址 前言:我本来没有想过写关于ARP绑定的文章,坦白的说一句,在你理解ARP工作的原理时,这其实比较简单.只是看到最近论坛很多人在问关于绑定IP和MAC地址的问题, ...

  5. Mac系统下SVN命令

    Mac系统下SVN命令 安裝 Subversion 首先您須要在您所要工作的機器上安裝 Subversion 這套系統. 若您的機器上已經安裝好了, 您可以跳過這一步. 若您在 FreeBSD 底下, ...

  6. Mac下使用tree命令

    Mac下没有tree命令,但是可以通过brew进行安装,命令如下: brew install tree 装好后tree的用法和linux下的保持一致.参考:http://www.cnblogs.com ...

  7. linux中nm、ldd、readelf命令

    一.nm 1.     说明: nm用来列出目标文件的符号清单.Makefile中将产生的目标文件的符号清单列出, 调查bug时,可以工具清单中的信息准确定位问题. 2.     用法下面是nm命令的 ...

  8. Linux 命令(58)—— readelf 命令

    1.功能简介 readelf 用于读取 ELF(Executable and Linkable Format)格式文件的详细信息,包括目标文件.可执行文件.共享目标文件与核心转储文件. 1.1 ELF ...

  9. Mac 无法运行node命令的解决方法

    Mac 无法运行node命令的解决方法 参考文章: (1)Mac 无法运行node命令的解决方法 (2)https://www.cnblogs.com/allenwuhen/p/6834428.htm ...

最新文章

  1. plsql的安装与部署
  2. python-------装饰器
  3. linux命令行ps1变量_Ubuntu如何修改命令提示符PS1
  4. JVM系列之:Contend注解和false-sharing
  5. python文件可以包括任何数据内容_python 文件数据合并(数据行不对应)?
  6. 【云快讯】《微软Sharepoint 2016 Beta版发布,强化混合云搜索功能》
  7. idea实现抽象类的所有抽象方法_父类子类抽象类,super final 重写方法,搞懂继承中复杂的知识点
  8. 课堂练习--最大子数组和
  9. dbeaver导出建表语句_「mysql基础」MySQL常用语句命令总结(文字版)
  10. Macbook Pro 使用小记
  11. 如何在C#中读写INI文件
  12. 【C语言项目设计】趣味算术游戏设计
  13. 微博android源码,新浪微博客户端源码 android
  14. 汇编 DOS系统功能调用
  15. 东北大学计算机学院教授,东北大学之计算机系
  16. Electron入门宝典(三)菜单快捷键
  17. 什么软件测试固态硬盘坏没坏,固态硬盘容易坏吗 SSD固态硬盘坏掉前有什么征兆【详细介绍】...
  18. SQL2008使用with求余额表,流水账方式
  19. 现在很多人都想做抖音短视频,那我们应该怎样去做呢?一起来看一吧
  20. NCBI数据下载-sra

热门文章

  1. 《c++语言导学》——1.3 Hello,World!
  2. css:transform,transition,animation总结
  3. github设置添加SSH(转载自:破男孩)
  4. CentOS6.7安装Python3.4
  5. GitHub for Windows一般操作
  6. golang windows下杀进程
  7. 程序员听爵士,架构师学做交响指挥
  8. 微软 Power Fx 低代码通用编程语言
  9. HTML5 开源游戏引擎 LayaAir
  10. Google工程师详解Android架构