我正在尝试运行从以下链接下载的 pintool:
https://www.cs.purdue.edu/homes/kim1051/
相关论文在这里:https : //www.utdallas.edu/~zxl111930/file/Rewards_NDSS10.pdf
该工具在提供的示例中运行良好。然而,当我尝试运行 elf-32 或 64 时,我收到以下错误:
E:Cannot execute file. System error: Unknown error. File name: ".\hello"
E:Pin is exiting due to fatal error
我使用的代码是一个简单的 C hello world:
#include <stdio.h>
int main()
{
printf("Hello, World!");
return 0;
}
编译为:
gcc -m32 hello.c -o hello
我是 Pin 的新手,不过我收集它作为它自己的二进制加载器,所以我很惊讶这不起作用。
先感谢您。