想要查找一个宏定义在哪个文件中,可以使用下面的方法:

find /usr/include/ -name *.h | xargs grep 'ORIG_EAX'

输出结果如下:

/usr/include/x86_64-linux-gnu/sys/reg.h:# define ORIG_EAX 11
/usr/include/x86_64-linux-gnu/asm/ptrace-abi.h:#define ORIG_EAX 11

 

相关文章:

  • 2021-11-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-29
  • 2021-12-20
  • 2021-12-27
  • 2022-12-23
猜你喜欢
  • 2021-09-30
  • 2021-08-16
  • 2022-12-23
  • 2021-10-19
  • 2021-08-30
  • 2022-02-11
  • 2022-12-23
相关资源
相似解决方案