Skip to content

feat(parser): add Windows PE parser #5180

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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

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]>
@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.

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.

2 participants