bpo-36876: Fix the C analyzer tool. by ericsnowcurrently · Pull Request #22841 · python/cpython
added 2 commits
adorilson pushed a commit to adorilson/cpython that referenced this pull request
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
aisk
mentioned this pull request
dhejyuyr added a commit to dhejyuyr/cpython that referenced this pull request
Unused datastr variable looks like a typo. Replace sig with datastr. Fixes: 345cd37 (bpo-36876: Fix the C analyzer tool. (pythonGH-22841)) Signed-off-by: Elizaveta Tereshkina <teryoshkina.ea@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters