linux下klocwork的使用

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

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

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值