Klocwork 作为一款出色的软件静态分析软件,上半年花了段时间了解使用,这里记录下基本使用方法,备忘。
Run Klocwork for firmware code in Linux OS
Take peregrine firmware code for example and the test OS isUbuntu 12.04 LTS 32bit.
Setp 1: Prepare the Klocwork environment.
Install the Klocwork User package on Linux
The Klocwork user package is under the path: \\10.231.198.24\User\EricLiu\klocwork. You can find the 32bit and 64bit package here.
Please refer the link: http://developer.klocwork.com/klocwork-university/cbt/installing-klocwork-user-package-unix to install the user package.
Step 2: Make sure the Linux OS can access the Qualcomm server.
Since the Klocwork analyze needs to Q

本文档记录了如何在Linux操作系统中运行Klocwork进行固件代码的静态分析。首先,需要安装Klocwork用户包并确保Linux系统能访问高通服务器。接着,切换到root用户,设置环境路径,运行kwcheck创建、kwinject和kwcheck import等命令进行分析。通过这些步骤,可以对代码进行详尽的检查和分析。
1255

被折叠的 条评论
为什么被折叠?



