Skip to content

Conversation

ffontaine
Copy link
Contributor

@ffontaine ffontaine commented Jun 27, 2025

Built from #5159, this alternative has the following advantages:

  • it doesn't create a fake "line" that is passed to binary checker
  • python binary checker doesn't have to be updated
  • it allows the end-user to disable this new behavior through -s pe
  • any specific PE handling such as setting the product to lower case or converting "Python Software Foundation" to "python" is done in pe.py

For now, pe parser runs only on pyd files but this could be updated.

Credits shall be given to @alex-cheng-techman which created most of the original code

@alex-cheng-techman
Copy link

@ffontaine Thanks for your effort. I closed my PR. As mentioned, I have to discuss vulnerability issue with our cusomter based on the other business tool. If there is any other mismatch, I will port let you know.

Built from intel#5159, this alternative has the following advantages:
 - it doesn't create a fake "line" that is passed to binary checker
 - python binary checker doesn't have to be updated
 - it allows the end-user to disable this new behavior through "-s pe"
 - any specific PE handling such as setting the product to lower case or
   converting "Python Software Foundation" to "python" is done in pe.py

For now, pe parser runs only on pyd files but this could be updated.

Credits shall be given to @alex-cheng-techman which created most of the
original code

Signed-off-by: Fabrice Fontaine <[email protected]>
@terriko
Copy link
Contributor

terriko commented Jul 31, 2025

Thank you! I need to have a quick think about whether I'm allowed to merge dependency updates now or if I should wait until the repo is moved to openssf and we're clearly not subject to Intel's legal licensing checks. But this generally looks good and like something we want.

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