edk2-test icon indicating copy to clipboard operation
edk2-test copied to clipboard

Generate Coverity static code check report on edk2-test and fix (Bugzilla Bug 4844)

Open tianocore-issues opened this issue 1 year ago • 10 comments

This issue was created automatically with bugzilla2github

Bugzilla Bug 4844

Date: 2024-09-06T16:35:09+00:00 From: Edhay <<edhaya.chandran>> To: unassigned <> CC: vincent.stehle

Last updated: 2024-11-07T10:45:52+00:00

tianocore-issues avatar Sep 06 '24 16:09 tianocore-issues

Comment 23388

Date: 2024-09-06 16:35:09 +0000 From: Edhay <<edhaya.chandran>>

  • Industry Specification: ---
  • Release Observed: EDK II Master
  • Releases to Fix: EDK II Master
  • Target OS: ---
  • Bugzilla Assignee(s): unassigned <>

Generate the Coverity static code check report on edk2-test code and fix high impact and high return errors/warnings.

tianocore-issues avatar Sep 06 '24 16:09 tianocore-issues

Comment 23424

Date: 2024-10-03 10:36:11 +0000 From: Edhay <<edhaya.chandran>>

Vincent to provide a Coverity run report on the latest edk2-test code.

To plan: Once the issues have been resolved, the UEFI-SCT must be tested for any impact due to the fixes.

tianocore-issues avatar Oct 03 '24 10:10 tianocore-issues

Comment 23428

Date: 2024-10-04 09:23:58 +0000 From: Vincent Stehlé <<vincent.stehle>>

Created attachment 1542 Coverity analysis summary

Attachment: BZ-1542-summary.txt

tianocore-issues avatar Oct 04 '24 09:10 tianocore-issues

Comment 23429

Date: 2024-10-04 09:24:56 +0000 From: Vincent Stehlé <<vincent.stehle>>

Created attachment 1543 Coverity analysis results in oneline text format

Attachment: BZ-1543-oneline.zip

tianocore-issues avatar Oct 04 '24 09:10 tianocore-issues

Comment 23430

Date: 2024-10-04 09:25:52 +0000 From: Vincent Stehlé <<vincent.stehle>>

Created attachment 1544 Coverity analysis results in JSON format

Attachment: BZ-1544-json.zip

tianocore-issues avatar Oct 04 '24 09:10 tianocore-issues

Comment 23431

Date: 2024-10-04 09:26:55 +0000 From: Vincent Stehlé <<vincent.stehle>>

Created attachment 1545 Coverity analysis results in MSVS format

Attachment: BZ-1545-msvs.zip

tianocore-issues avatar Oct 04 '24 09:10 tianocore-issues

Comment 23432

Date: 2024-10-04 09:32:14 +0000 From: Vincent Stehlé <<vincent.stehle>>

Hi,

I have built the SCT for X86 and AARCH64 under Coverity. The results in various formats are attached to this issue.

Due to the attachment size limit of 1 MB, it is sadly not practicable to attach the results in HTML format here, as they weight ~80 MB.

This is with:

  • Coverity 2023.9.0
  • edk2 91d806917fd2
  • edk2-test 16c552d70b74

tianocore-issues avatar Oct 04 '24 09:10 tianocore-issues

Comment 23519

Date: 2024-11-07 10:45:52 +0000 From: Edhay <<edhaya.chandran>>

Thank you, Vincent for the reports.

Ann to take up the initial analysis of the reports. The fix effort shall be shared among community members.

tianocore-issues avatar Nov 07 '24 10:11 tianocore-issues

Update: The untinitialised variables errors are resolved and draft reviewed. To be upstreamed by @edhay in the mailing list for community review.

edhay avatar Apr 03 '25 14:04 edhay

All the "Major" issues are solved. Moving to analysis and solution of Minor issues.

edhay avatar Oct 02 '25 14:10 edhay