1 Star 0 Fork 0

tom888 / ELF-Hook

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
compile32 240 Bytes
一键复制 编辑 原始数据 按行查看 历史
Anthony Shoumikhin 提交于 2011-10-02 01:00 . Start
#!/bin/bash
rm -f *.so test
gcc -g3 -m32 -shared -o libtest1.so libtest1.c #intensionally compiled as non-PIC
gcc -g3 -m32 -fPIC -shared -o libtest2.so libtest2.c
gcc -g3 -m32 -L$PWD -o test test.c elf_hook.c -ltest1 -ltest2 -ldl
C
1
https://gitee.com/tom888/ELF-Hook.git
git@gitee.com:tom888/ELF-Hook.git
tom888
ELF-Hook
ELF-Hook
master

搜索帮助