zoukankan      html  css  js  c++  java
  • linux 修改 elf 文件的dynamic linker 和 rpath

    linux 修改 elf 文件的dynamic linker 和 rpath

    https://nixos.org/patchelf.html

    下载地址

    https://nixos.org/releases/patchelf/patchelf-0.9/patchelf-0.9.tar.gz

    https://nixos.org/releases/patchelf/patchelf-0.9/patchelf-0.9.tar.bz2

    $ ./patchelf --help
    syntax: ./patchelf
      [--set-interpreter FILENAME]
      [--page-size SIZE]
      [--print-interpreter]
      [--print-soname]		Prints 'DT_SONAME' entry of .dynamic section. Raises an error if DT_SONAME doesn't exist
      [--set-soname SONAME]		Sets 'DT_SONAME' entry to SONAME.
      [--set-rpath RPATH]
      [--remove-rpath]
      [--shrink-rpath]
      [--print-rpath]
      [--force-rpath]
      [--add-needed LIBRARY]
      [--remove-needed LIBRARY]
      [--replace-needed LIBRARY NEW_LIBRARY]
      [--print-needed]
      [--no-default-lib]
      [--debug]
      [--version]
      FILENAME

    ================= End

  • 相关阅读:
    1-1圆柱体的表面积
    vue的重定向和404
    新特性
    vue的一些概念
    关于ES6包的导出和导入
    vue-父组件和子组件的交互
    vue-组件
    vue---指令
    angular基础--指令2
    angular基础
  • 原文地址:https://www.cnblogs.com/lsgxeva/p/9645928.html
Copyright © 2011-2022 走看看