Skip to content

EDGEML-13495: Fix Binskim issues in xrt#9758

Closed
yvonyuan wants to merge 1 commit intoXilinx:masterfrom
yvonyuan:fix_binskim
Closed

EDGEML-13495: Fix Binskim issues in xrt#9758
yvonyuan wants to merge 1 commit intoXilinx:masterfrom
yvonyuan:fix_binskim

Conversation

@yvonyuan
Copy link
Copy Markdown
Collaborator

@yvonyuan yvonyuan commented Apr 28, 2026

Problem solved by the commit

https://amd.atlassian.net/browse/EDGEML-13495 and https://amd.atlassian.net/browse/EDGEML-13496

How problem was solved, alternative solutions (if any) and why they were rejected

Fixed Binskim BA6002: eliminate duplicate strings.
Fixed Binskim BA2007: build at warning level 3

@yvonyuan yvonyuan requested review from rozumx and stsoe as code owners April 28, 2026 20:47
@xrt-pr-bot
Copy link
Copy Markdown

xrt-pr-bot Bot commented Apr 28, 2026

⚠️ Authorization Failed

@yvonyuan is not a repository collaborator.

To proceed:

  • XRT Admins: Add the build label to authorize this PR build
  • OR Add @yvonyuan as a repository collaborator

Copy link
Copy Markdown
Collaborator

@stsoe stsoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check #9500
There is a reason the conditional options were added.

Copy link
Copy Markdown
Collaborator

@stsoe stsoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please confirm build are clean, I think you will get warnings at link time if not a compile time.
And sign-off, please.

Signed-off-by: Yvonne Yang <Yvonne.Yang@amd.com>

Revert /OPT:REF back for non-debug builds

Signed-off-by: Yvonne Yang <Yvonne.Yang@amd.com>
@github-actions
Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@yvonyuan
Copy link
Copy Markdown
Collaborator Author

Please check #9500 There is a reason the conditional options were added.

Make sense to me. Moved /OPT:REF back to non-Debug only. I will re-run the Binskim check and if the issue is still there, we might consider treat Debug BA6005 as a BinSkim exception

@github-actions
Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@yvonyuan
Copy link
Copy Markdown
Collaborator Author

Closed this PR as after removing xclbinutil from the artifacts for SWV npu driver, issue BA2007 and BA6002 goes away.

@yvonyuan yvonyuan closed this Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants