How to use infer to analyze some c files in RIOT:
- 主要语言
- OCaml
- 星标
- 15.7k
- 派生
- 2.1k
- 平均合并
- 19 小时 36 分钟
- 30 天内合并 PR
- 13
描述
Hi,
I clone the RIOT project from Github, try to analyze the [hdr.c](https://github.com/RIOT-OS/RIOT/tree/master/sys/riotboot) code in the infer. But it said the header file [hdr.h](https://github.com/RIOT-OS/RIOT/tree/master/sys/include/riotboot) not found.
Could you please give me some suggestions? Thanks a lot!
ps: I found my issue is similar to #580, also including many header files. But I don't find a solution.
Other information:
- "Infer version v1.0.0"
- Operating System: "Ubuntu" "20.04.1 LTS (Focal Fossa)"
- Kernel: Linux 5.4.0-52-generic x86_64 x86_64
``
shyuan@shyuan:\~$ cd GitHub/RIOT/sys/riotboot/
shyuan@shyuan:\~/GitHub/RIOT/sys/riotboot$ infer run -- gcc -c hdr.c
Capturing in make/cc mode...
hdr.c:34:10: fatal error: 'riotboot/hdr.h' file not found
#include "riotboot/hdr.h"
^~~~~~~~~~~~~~~~
1 error generated.
``
贡献指南
评估
这个 Issue 还没有评估数据。