ossf/cve-bin-tool

test: python windows dll pattern tests

開放

#4,032 建立於 2024年4月15日

 (9 則留言) (0 個反應) (1 位負責人)Python (646 個分叉)auto 404
good first issue

倉庫指標

星標
 (1,738 顆星)
PR 合併指標
 (平均合併 15小時 17分鐘) (30 天內合併 9 個 PR)

描述

In #4023, @jananir640 has added a pattern to detect python3 DLLs for windows correctly.

It would be good to have a pair of tests using this new pattern:

  1. Add some mapping test data to https://github.com/intel/cve-bin-tool/blob/main/test/test_data/python.py that triggers this pattern
  2. Add a file test, potentially using https://s3.amazonaws.com/ddagent-windows-stable/datadog-agent-7-latest.amd64.msi which was the file that originally triggered the bug

This should be doable by a new user, so I'm flagging it as a good first issue. But now that we're not in the middle of gsoc applications (and thus trying to save good first issues for gsoc applicants), anyone should feel free to work on this.

貢獻者指南