Analyzing Linux C Code with CodeChecker
Install CodeChecker and dependencies
pip3 install codechecker
sudo apt install -y cppcheck clang clang-tidy clang-tools
CodeChecker server --host 192.168.1.15
Code Analysis
git clone https://github.com/linux-rockchip/rkflashtool.git
CodeChecker check -b make -o $(pwd)/results
CodeChecker store ./results -n rkflashtool --url http://192.168.1.15:8001/Default