EgorBot / runtime-utils

MIT License
0 stars 1 forks source link

EgorBot for EgorBo in #109570 #158

Closed EgorBot closed 1 week ago

EgorBot commented 1 week ago

Processing https://github.com/dotnet/runtime/pull/109570#issuecomment-2477954266 command:

Command -codesafety

(EgorBot will reply in this issue)

EgorBot commented 1 week ago

Code safety report

Click to expand #### Main: | Assembly | Total
methods | P/Invokes | Contain 'unsafe'
context | Contain Unsafe
API calls | | ---| ---| ---| ---| ---| | System.Private.CoreLib | 21724 | 323 | 2473 | 900 | | Common | 5989 | 2143 | 479 | 110 | | System.Net.HttpListener | 786 | 0 | 320 | 0 | | System.Security.Cryptography | 4823 | 0 | 238 | 51 | | System.Numerics.Tensors | 1598 | 0 | 141 | 126 | | System.Reflection.Metadata | 2612 | 0 | 196 | 3 | | System.Net.Sockets | 1032 | 0 | 184 | 8 | | System.Net.Http | 2261 | 90 | 86 | 16 | | System.Net.Quic | 369 | 2 | 134 | 36 | | System.Runtime.InteropServices.JavaScript | 382 | 0 | 123 | 0 | | *Other* | 79309 | 38 | 1166 | 375 | | **Total** | **120885** | **2596** | **5540** | **1625** | #### PR: | Assembly | Total
methods | P/Invokes | Contain 'unsafe'
context | Contain Unsafe
API calls | | ---| ---| ---| ---| ---| | System.Private.CoreLib | 21720 | 323 | 2473 | 901 | | Common | 5989 | 2143 | 479 | 110 | | System.Net.HttpListener | 786 | 0 | 320 | 0 | | System.Security.Cryptography | 4822 | 0 | 238 | 52 | | System.Numerics.Tensors | 1598 | 0 | 141 | 126 | | System.Reflection.Metadata | 2612 | 0 | 196 | 3 | | System.Net.Sockets | 1032 | 0 | 184 | 8 | | System.Net.Http | 2261 | 90 | 86 | 16 | | System.Net.Quic | 369 | 2 | 134 | 36 | | System.Runtime.InteropServices.JavaScript | 382 | 0 | 123 | 0 | | *Other* | 79315 | 38 | 1166 | 375 | | **Total** | **120886** | **2596** | **5540** | **1627** | [UnsafeCodeAnalyzer](https://github.com/EgorBo/UnsafeCodeAnalyzer)

cc @EgorBo