让 REWARDS pintool 与 ELF 一起使用

逆向工程 小工具
2021-07-01 06:57:50

我正在尝试运行从以下链接下载的 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 的新手,不过我收集它作为它自己的二进制加载器,所以我很惊讶这不起作用。

先感谢您。

0个回答
没有发现任何回复~