博客
关于我
查找elf文件中的符号表
阅读量:604 次
发布时间:2019-03-12

本文共 327 字,大约阅读时间需要 1 分钟。

如何查看ELF文件的内容

查看ELF文件的内容需要使用特定的工具来分析二进制文件。以下是两种常用方法:

方法一:使用readelf

  • 找到该ELF文件所在目录中,执行以下命令:
  • readelf -a 文件名
    1. 该命令会输出ELF文件的详细信息,包括符号表等内容。-a选项表示打开所有段,包括文本、定义数据和。 Baptism 直接查看文件的位置和内容。
    2. 方法二:使用objdump

    3. 如果你手上有 gcc 或者类似工具编译过的ELF文件,可以使用 objdump 来查看更多信息。
    4. objdump -x 文件名
      1. 这条命令会展示文件的基本信息,例如目标机器类型、文件格式和程序的其它细节。
      2. 这两种方法都可以用来查看ELF文件的内容,根据需要选择合适的工具来处理。

    转载地址:http://hplxz.baihongyu.com/

    你可能感兴趣的文章
    order by rand()
    查看>>
    SSM(Spring+SpringMvc+Mybatis)整合开发笔记
    查看>>
    ViewHolder的改进写法
    查看>>
    Orderer节点启动报错解决方案:Not bootstrapping because of 3 existing channels
    查看>>
    org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Unexpected subelement profile
    查看>>
    sql查询中 查询字段数据类型 int 与 String 出现问题
    查看>>
    org.apache.commons.beanutils.BasicDynaBean cannot be cast to ...
    查看>>
    org.apache.dubbo.common.serialize.SerializationException: com.alibaba.fastjson2.JSONException: not s
    查看>>
    sqlserver学习笔记(三)—— 为数据库添加新的用户
    查看>>
    org.apache.http.conn.HttpHostConnectException: Connection to refused
    查看>>
    org.apache.ibatis.binding.BindingException: Invalid bound statement错误一例
    查看>>
    org.apache.ibatis.exceptions.PersistenceException:
    查看>>
    org.apache.ibatis.exceptions.TooManyResultsException: Expected one result (or null) to be returned
    查看>>
    org.apache.ibatis.type.TypeException: Could not resolve type alias 'xxxx'异常
    查看>>
    org.apache.poi.hssf.util.Region
    查看>>
    org.apache.xmlbeans.XmlOptions.setEntityExpansionLimit(I)Lorg/apache/xmlbeans/XmlOptions;
    查看>>
    org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /
    查看>>
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:processDebugManifest'
    查看>>
    org.hibernate.HibernateException: Unable to get the default Bean Validation factory
    查看>>
    org.hibernate.ObjectNotFoundException: No row with the given identifier exists:
    查看>>