-
Notifications
You must be signed in to change notification settings - Fork 76
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
BinSkim crashes with out of memory exception on empty _.pdb files #2744
Comments
Please make sure that the conclusion is correct, ideally by checking with the tool documentation or authors. If the tool uses extensive memory to scan large number of binaries, it's most probably a bug or an incorrect implementation (e.g., reading all binaries at once). This should be definitely at least reported to the tool authors.
|
Linked BinSkim issues:
|
Example of PDB that causes the issue: |
The workaround was merged, and changes were flown to the dotnet/runtime repository. |
x64 Binskim:
Pool name:
NetCore1ESPool-Internal
with 16 GB of memory for agents.The artifacts in the Runtime repository have a size of approximately 4.7 GB (link)
Logs: https://dev.azure.com/dnceng/internal/_build/results?buildId=2211960&view=logs&j=5670356f-8b38-5a32-2003-b78bdacf9625&t=3eba09b0-9fb8-5e1f-ce0b-b3d4e55cfb20&l=8555
For some reason dotnet/runtime's artifacts include empty
_.pdb
files. The issue is already reported on the Binskim sideIssue in the Runtime repo: dotnet/runtime#89423
The text was updated successfully, but these errors were encountered: