Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 345cd37

Browse filesBrowse files
bpo-36876: Fix the C analyzer tool. (GH-22841)
The original tool wasn't working right and it was simpler to create a new one, partially re-using some of the old code. At this point the tool runs properly on the master. (Try: ./python Tools/c-analyzer/c-analyzer.py analyze.) It take ~40 seconds on my machine to analyze the full CPython code base. Note that we'll need to iron out some OS-specific stuff (e.g. preprocessor). We're okay though since this tool isn't used yet in our workflow. We will also need to verify the analysis results in detail before activating the check in CI, though I'm pretty sure it's close. https://bugs.python.org/issue36876
1 parent ec388cf commit 345cd37
Copy full SHA for 345cd37

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner

92 files changed

+8882
-10553
lines changed

‎Lib/test/test_tools/test_c_analyzer/__init__.py

Copy file name to clipboardExpand all lines: Lib/test/test_tools/test_c_analyzer/__init__.py
-15Lines changed: 0 additions & 15 deletions
This file was deleted.

‎Lib/test/test_tools/test_c_analyzer/__main__.py

Copy file name to clipboardExpand all lines: Lib/test/test_tools/test_c_analyzer/__main__.py
-5Lines changed: 0 additions & 5 deletions
This file was deleted.

‎Lib/test/test_tools/test_c_analyzer/test_common/__init__.py

Copy file name to clipboardExpand all lines: Lib/test/test_tools/test_c_analyzer/test_common/__init__.py
-6Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.