Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
f93e2c6
Add large, ignored files to MAX_SIZES.
ericsnowcurrently Aug 29, 2022
a8bd590
Fixups for Python/thread_pthread.h.
ericsnowcurrently Sep 2, 2022
683d1ba
Add some missing defines.
ericsnowcurrently Sep 7, 2022
dd8b682
Support passing "includes" to preprocess().
ericsnowcurrently Sep 7, 2022
1b822b7
Update parser data.
ericsnowcurrently Sep 7, 2022
42114c0
Fix whitelists.
ericsnowcurrently Sep 7, 2022
342ccee
Stop ignoring cjkcodecs.
ericsnowcurrently Sep 7, 2022
12fc111
Stop ignoring _dbmmodule.c.
ericsnowcurrently Sep 7, 2022
1f82c05
Stop ignoring stringlib.
ericsnowcurrently Sep 7, 2022
6e67f68
Add a TODO.
ericsnowcurrently Sep 7, 2022
5c898c4
Fix perf_trampoline.c.
ericsnowcurrently Sep 7, 2022
b930efa
Stop ignoring hashlib.h.
ericsnowcurrently Sep 7, 2022
c74b308
Fix thread_pthread_stubs.h.
ericsnowcurrently Sep 7, 2022
7296153
Stop ignoring KeccakP-1600-opt64.c.
ericsnowcurrently Sep 7, 2022
9566436
Add a note about maybe-inline-actual.
ericsnowcurrently Sep 8, 2022
f91b6d7
Add c_common.fsutil.match_path_tail().
ericsnowcurrently Sep 8, 2022
28d5cc5
Do not add the current file as an include.
ericsnowcurrently Sep 8, 2022
2fa3d87
Update gcc.preprocess().
ericsnowcurrently Sep 9, 2022
401bd73
Always print the current filename when c_parser.parse_files() fails.
ericsnowcurrently Sep 9, 2022
fc3a5a5
Use a consistent filename variable name.
ericsnowcurrently Sep 9, 2022
917a099
Always use absolute paths.
ericsnowcurrently Sep 9, 2022
13449a9
Stop filtering includes.
ericsnowcurrently Sep 9, 2022
c7050eb
Fix analysis for typeobject.c.
ericsnowcurrently Sep 9, 2022
07a87cb
Ignore pystate.c:initial.
ericsnowcurrently Sep 9, 2022
d1d725e
Fix "samefiles" handling.
ericsnowcurrently Sep 10, 2022
6a0e7fc
Report the correct CWD in verbose output.
ericsnowcurrently Sep 12, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add some missing defines.
  • Loading branch information
ericsnowcurrently committed Sep 9, 2022
commit 683d1baa7ec31874c21b28dd622ebe344e6b4b82
3 changes: 3 additions & 0 deletions Tools/c-analyzer/cpython/_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,12 @@ def clean_lines(text):
# implied include of pyconfig.h
Include/**/*.h SIZEOF_WCHAR_T 4
Include/**/*.h SIZEOF_VOID_P 8
Include/**/*.h SIZEOF_INT 4
Include/**/*.h SIZEOF_LONG 8

Include/internal/pycore_gil.h Py_HAVE_CONDVAR 1
Python/thread_pthread.h Py_HAVE_CONDVAR 1
**/clinic/*.c.h Py_HAVE_CONDVAR 1

# implied include of <unistd.h>
Include/**/*.h _POSIX_THREADS 1
Expand Down