summaryrefslogtreecommitdiffstats
path: root/Tools/c-analyzer/c_parser/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-36876: Fix the C analyzer tool. (GH-22841)Eric Snow2020-10-231-0/+46
| | | | | | | 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
* bpo-36876: Re-organize the c-analyzer tool code. (gh-16841)Eric Snow2019-10-191-0/+0
| | | | | This is partly a cleanup of the code. It also is preparation for getting the variables from the source (cross-platform) rather than from the symbols. The change only touches the tool (and its tests).
* bpo-36876: Add a tool that identifies unsupported global C variables. (#15877)Eric Snow2019-09-111-0/+0