Request help!
When I use sonar to scan items, ‘The “build wrapper dump. json” file was found but 0 C/C++/Objective-C files were analyzed.’ I tried to delete the ‘-E’ parameter(https://community.sonarsource.com/t/scanner-scan-code-failed/70719/6), but still couldn’t solve the problem. Here are some of my scan logs and scanned shell codes, build-wrapper-dump.json and build-wrapper The log file is a G in total, which is too large. If necessary, can you send me an email.
From the logs you have shared, I can’t say for sure that your build is clean: the build command is not make clean and I don’t know what make ls101_defconfig does (even though I can guess from the name).
Could you confirm that you are doing a clean build?
If so, I do not see anything weird in your logs so I would need the build-wrapper.log as well as the build-wrapper-dump.json.
Because they are too big to be uploaded in Community, could you please upload them on a cloud storage service (like WeTransfer)?
The problem is that the build and the analysis are done in two different paths.
In the build-wrapper.json the path of the compiled files is: /home/zhaobingfeng/LS101/output/build/doorbell-1.0.0/product_test/
But in the scanner logs the indexed files are in: product/doorbell/src/product_test/
Absolute paths must be identical in build and analysis steps for the analysis to work.