0
点赞
收藏
分享

微信扫一扫

ELFkickers 替换 .so 文件中的方法名


1、下载ELFkickers项目代码

项目地址: ​​https://github.com/k1988/ELFkickers​​

项目目录:

ELFkickers 替换 .so 文件中的方法名_github

2、安装项目,生成执行命令

* 进入项目目录
cd ELFkickers
* 执行make命令
make
* 此时在当前目录下下生成文件夹 ./bin
cd bin

bin目录下生成以下命令文件:

ELFkickers 替换 .so 文件中的方法名_使用说明_02

3、命令使用说明:

redefine

Usage: redefine [OPTIONS] FILE [SYMBOL...]
Change the name of dynamic symbols in an ELF object file.

-n, --name=ORGNAME the part name to be replace.
-p, --replace_name=NEWNAME the new part name.
-r, --rehash Force rehash even if no symbol was changed.
-i, --verbose Describe some debug information.
--help Display this help and exit.
--version Display version information and exit.


举报

相关推荐

0 条评论