Staging
v0.8.1
https://github.com/python/cpython
Revision 345cd37abe324ad4f60f80e2c3133b8849e54e9b authored by Eric Snow on 23 October 2020, 00:42:51 UTC, committed by GitHub on 23 October 2020, 00:42:51 UTC
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
History
Tip revision: 345cd37abe324ad4f60f80e2c3133b8849e54e9b authored by Eric Snow on 23 October 2020, 00:42:51 UTC
bpo-36876: Fix the C analyzer tool. (GH-22841)
Tip revision: 345cd37
File Mode Size
pycore_abstract.h -rw-r--r-- 479 bytes
pycore_accu.h -rw-r--r-- 1.1 KB
pycore_atomic.h -rw-r--r-- 16.6 KB
pycore_bitutils.h -rw-r--r-- 5.2 KB
pycore_bytes_methods.h -rw-r--r-- 3.3 KB
pycore_call.h -rw-r--r-- 870 bytes
pycore_ceval.h -rw-r--r-- 3.9 KB
pycore_code.h -rw-r--r-- 697 bytes
pycore_condvar.h -rw-r--r-- 2.7 KB
pycore_context.h -rw-r--r-- 817 bytes
pycore_dtoa.h -rw-r--r-- 646 bytes
pycore_fileutils.h -rw-r--r-- 1.3 KB
pycore_gc.h -rw-r--r-- 6.6 KB
pycore_getopt.h -rw-r--r-- 490 bytes
pycore_gil.h -rw-r--r-- 1.5 KB
pycore_hamt.h -rw-r--r-- 3.1 KB
pycore_hashtable.h -rw-r--r-- 4.1 KB
pycore_import.h -rw-r--r-- 477 bytes
pycore_initconfig.h -rw-r--r-- 5.1 KB
pycore_interp.h -rw-r--r-- 8.1 KB
pycore_list.h -rw-r--r-- 350 bytes
pycore_object.h -rw-r--r-- 5.3 KB
pycore_pathconfig.h -rw-r--r-- 1.9 KB
pycore_pyerrors.h -rw-r--r-- 2.0 KB
pycore_pyhash.h -rw-r--r-- 206 bytes
pycore_pylifecycle.h -rw-r--r-- 3.9 KB
pycore_pymem.h -rw-r--r-- 3.1 KB
pycore_pystate.h -rw-r--r-- 3.8 KB
pycore_runtime.h -rw-r--r-- 4.4 KB
pycore_sysmodule.h -rw-r--r-- 548 bytes
pycore_traceback.h -rw-r--r-- 3.0 KB
pycore_tuple.h -rw-r--r-- 425 bytes
pycore_unionobject.h -rw-r--r-- 350 bytes
pycore_warnings.h -rw-r--r-- 633 bytes

back to top