FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[Original HTTPS Page]
bpo-36876: Add a tool that identifies unsupported global C variables. by ericsnowcurrently · Pull Request #15877 · python/cpython · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
python
/
cpython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
35.3k
Star
74.9k
Code
Issues
5k+
Pull requests
2.6k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
bpo-36876: Add a tool that identifies unsupported global C variables.
- #15877
#15877
Merged
ericsnowcurrently
merged 118 commits into
python:master
python/cpython:master
from
ericsnowcurrently:globals-checker
ericsnowcurrently/cpython:globals-checker
Copy head branch name to clipboard
Sep 11, 2019
Conversation
Commits
118
(118)
Checks
Files changed
Merged
bpo-36876: Add a tool that identifies unsupported global C variables.
#15877
ericsnowcurrently
merged 118 commits into
python:master
python/cpython:master
from
ericsnowcurrently:globals-checker
ericsnowcurrently/cpython:globals-checker
Copy head branch name to clipboard
Commits
Commits on Sep 11, 2019
Bootstrap the "c-statics" script under the test suite.
ericsnowcurrently
committed
9cdba01
View commit details
Copy full SHA for 9cdba01
Browse repository at this point
Stub out the "check" and "show" commands.
ericsnowcurrently
committed
cfdf57f
View commit details
Copy full SHA for cfdf57f
Browse repository at this point
Add a README.
ericsnowcurrently
committed
716b13d
View commit details
Copy full SHA for 716b13d
Browse repository at this point
Fix a filename.
ericsnowcurrently
committed
ff1b447
View commit details
Copy full SHA for ff1b447
Browse repository at this point
Run the full check as part of the test suite.
ericsnowcurrently
committed
7e7d52d
View commit details
Copy full SHA for 7e7d52d
Browse repository at this point
Frame out the functional tests.
ericsnowcurrently
committed
74d03d4
View commit details
Copy full SHA for 74d03d4
Browse repository at this point
Ignore the argparse output in tests.
ericsnowcurrently
committed
34d2c7c
View commit details
Copy full SHA for 34d2c7c
Browse repository at this point
Move relevant tests to test_cg/.
ericsnowcurrently
committed
e8e2227
View commit details
Copy full SHA for e8e2227
Browse repository at this point
Add StaticVar.
ericsnowcurrently
committed
69541bf
View commit details
Copy full SHA for 69541bf
Browse repository at this point
Add a fake find.statics().
ericsnowcurrently
committed
cab1fc8
View commit details
Copy full SHA for cab1fc8
Browse repository at this point
Add show.basic().
ericsnowcurrently
committed
4bf5299
View commit details
Copy full SHA for 4bf5299
Browse repository at this point
Implement cmd_show().
ericsnowcurrently
committed
c74360f
View commit details
Copy full SHA for c74360f
Browse repository at this point
Add a note about the normalized vartype format.
ericsnowcurrently
committed
b94833d
View commit details
Copy full SHA for b94833d
Browse repository at this point
Do not run tests for find.statics() yet.
ericsnowcurrently
committed
6fecaad
View commit details
Copy full SHA for 6fecaad
Browse repository at this point
Implement cmd_check().
ericsnowcurrently
committed
8a53e69
View commit details
Copy full SHA for 8a53e69
Browse repository at this point
Add scan.iter_statics().
ericsnowcurrently
committed
98d3737
View commit details
Copy full SHA for 98d3737
Browse repository at this point
Add supported.is_supported().
ericsnowcurrently
committed
28e0f99
View commit details
Copy full SHA for 28e0f99
Browse repository at this point
Add find.statics().
ericsnowcurrently
committed
1d6696c
View commit details
Copy full SHA for 1d6696c
Browse repository at this point
Sort the output.
ericsnowcurrently
committed
7e09aa4
View commit details
Copy full SHA for 7e09aa4
Browse repository at this point
Implement scan.iter_statics().
ericsnowcurrently
committed
265098d
View commit details
Copy full SHA for 265098d
Browse repository at this point
Add cg.files.iter_files().
ericsnowcurrently
committed
ac70e2c
View commit details
Copy full SHA for ac70e2c
Browse repository at this point
Add cg.info.Symbol.
ericsnowcurrently
committed
587907c
View commit details
Copy full SHA for 587907c
Browse repository at this point
Properly handle local variables.
ericsnowcurrently
committed
6ff136f
View commit details
Copy full SHA for 6ff136f
Browse repository at this point
Implement cg.parse.iter_variables().
ericsnowcurrently
committed
9faeba9
View commit details
Copy full SHA for 9faeba9
Browse repository at this point
Start the implementation for iter_statements().
ericsnowcurrently
committed
ae5c872
View commit details
Copy full SHA for ae5c872
Browse repository at this point
Deal with comments.
ericsnowcurrently
committed
0687e09
View commit details
Copy full SHA for 0687e09
Browse repository at this point
Handle functions in iter_global_declarations().
ericsnowcurrently
committed
a50aa32
View commit details
Copy full SHA for a50aa32
Browse repository at this point
Implement basic variable support.
ericsnowcurrently
committed
044a1f4
View commit details
Copy full SHA for 044a1f4
Browse repository at this point
Implement parse_func().
ericsnowcurrently
committed
c7833c1
View commit details
Copy full SHA for c7833c1
Browse repository at this point
Implement parse_var().
ericsnowcurrently
committed
2c164cd
View commit details
Copy full SHA for 2c164cd
Browse repository at this point
Ignore files in Include/cpython.
ericsnowcurrently
committed
84cd77e
View commit details
Copy full SHA for 84cd77e
Browse repository at this point
Rename the c-globals tool directory to be more generic.
ericsnowcurrently
committed
dc471a3
View commit details
Copy full SHA for dc471a3
Browse repository at this point
Add imports_under_tool() CM.
ericsnowcurrently
committed
a9c27c5
View commit details
Copy full SHA for a9c27c5
Browse repository at this point
Move the code under Tools (and the tests under test_tools).
ericsnowcurrently
committed
60dee31
View commit details
Copy full SHA for 60dee31
Browse repository at this point
Split up the files properly.
ericsnowcurrently
committed
c0f1313
View commit details
Copy full SHA for c0f1313
Browse repository at this point
Factor out c_parser/{source,util}.py and c_symbols/local.py.
ericsnowcurrently
committed
5410467
View commit details
Copy full SHA for 5410467
Browse repository at this point
Factor out preprocessor.py.
ericsnowcurrently
committed
caac1a9
View commit details
Copy full SHA for caac1a9
Browse repository at this point
Factor out _NTBase.
ericsnowcurrently
committed
928cc96
View commit details
Copy full SHA for 928cc96
Browse repository at this point
Add the wrapped_arg_combos() testing helper.
ericsnowcurrently
committed
baf2bce
View commit details
Copy full SHA for baf2bce
Browse repository at this point
Add preprocessor.iter_lines().
ericsnowcurrently
committed
57ec889
View commit details
Copy full SHA for 57ec889
Browse repository at this point
Remove line continuations and comments in preprocessor.iter_lines().
ericsnowcurrently
committed
400b388
View commit details
Copy full SHA for 400b388
Browse repository at this point
Fix minor formatting.
ericsnowcurrently
committed
13eb7b1
View commit details
Copy full SHA for 13eb7b1
Browse repository at this point
Handle the "ignored" and "known" args to statics().
ericsnowcurrently
committed
182e3f9
View commit details
Copy full SHA for 182e3f9
Browse repository at this point
Factor out statics_from_symbols().
ericsnowcurrently
committed
ec88a4c
View commit details
Copy full SHA for ec88a4c
Browse repository at this point
StaticVar -> Variable.
ericsnowcurrently
committed
a269b15
View commit details
Copy full SHA for a269b15
Browse repository at this point
Add statics_from_declarations().
ericsnowcurrently
committed
842ef7c
View commit details
Copy full SHA for 842ef7c
Browse repository at this point
Track the per-variable preprocessor conditions.
ericsnowcurrently
committed
853768a
View commit details
Copy full SHA for 853768a
Browse repository at this point
Add util.Slot (a descriptor).
ericsnowcurrently
committed
5f1b8b9
View commit details
Copy full SHA for 5f1b8b9
Browse repository at this point
Add util.classonly (a la classmethod).
ericsnowcurrently
committed
b850c05
View commit details
Copy full SHA for b850c05
Browse repository at this point
Add util._NOT_SET.
ericsnowcurrently
committed
cde5b32
View commit details
Copy full SHA for cde5b32
Browse repository at this point
Add _NTBase.from_raw().
ericsnowcurrently
committed
11377dd
View commit details
Copy full SHA for 11377dd
Browse repository at this point
Add info.ID.
ericsnowcurrently
committed
acbedc7
View commit details
Copy full SHA for acbedc7
Browse repository at this point
Use ID in Symbol.
ericsnowcurrently
committed
08310bf
View commit details
Copy full SHA for 08310bf
Browse repository at this point
Use ID in Variable.
ericsnowcurrently
committed
1d5e9bf
View commit details
Copy full SHA for 1d5e9bf
Browse repository at this point
Add a note about a "conditions" slot for info.ID.
ericsnowcurrently
committed
0c56fd9
View commit details
Copy full SHA for 0c56fd9
Browse repository at this point
Require Variable to have filename set.
ericsnowcurrently
committed
9563689
View commit details
Copy full SHA for 9563689
Browse repository at this point
"???" means "unknown".
ericsnowcurrently
committed
7ad89b2
View commit details
Copy full SHA for 7ad89b2
Browse repository at this point
Make find_local_symbol() a "public" argument.
ericsnowcurrently
committed
2b2bc66
View commit details
Copy full SHA for 2b2bc66
Browse repository at this point
Add info.ID.islocal.
ericsnowcurrently
committed
1316a3b
View commit details
Copy full SHA for 1316a3b
Browse repository at this point
Factor out c_analyzer_common package.
ericsnowcurrently
committed
4bdd9a6
View commit details
Copy full SHA for 4bdd9a6
Browse repository at this point
Move info.Symbol under c_symbols.
ericsnowcurrently
committed
5d52d9f
View commit details
Copy full SHA for 5d52d9f
Browse repository at this point
Do not allow Variable.id to have UNKNOWN in it.
ericsnowcurrently
committed
d7d0d91
View commit details
Copy full SHA for d7d0d91
Browse repository at this point
Cache Variable.isstatic.
ericsnowcurrently
committed
f662b63
View commit details
Copy full SHA for f662b63
Browse repository at this point
Move known_from_file() to common/known.py.
ericsnowcurrently
committed
e963103
View commit details
Copy full SHA for e963103
Browse repository at this point
Add look_up_known_symbol() and symbols_to_variables().
ericsnowcurrently
committed
2cf6d6a
View commit details
Copy full SHA for 2cf6d6a
Browse repository at this point
Move files.py under common.
ericsnowcurrently
committed
3d80342
View commit details
Copy full SHA for 3d80342
Browse repository at this point
known_from_file() -> known.from_file().
ericsnowcurrently
committed
d58c7c4
View commit details
Copy full SHA for d58c7c4
Browse repository at this point
Make dirnames optional.
ericsnowcurrently
committed
2fca1e7
View commit details
Copy full SHA for 2fca1e7
Browse repository at this point
Drop c_statics.scan.
ericsnowcurrently
committed
1e34a1a
View commit details
Copy full SHA for 1e34a1a
Browse repository at this point
Implement known.from_file() and ignored_from_file().
ericsnowcurrently
committed
3f2e4f6
View commit details
Copy full SHA for 3f2e4f6
Browse repository at this point
Fix REPO_ROOT.
ericsnowcurrently
committed
3e1657a
View commit details
Copy full SHA for 3e1657a
Browse repository at this point
Various minor fixes to get to stable.
ericsnowcurrently
committed
a2779b4
View commit details
Copy full SHA for a2779b4
Browse repository at this point
Add util.read_tsv() and util.write_tsv().
ericsnowcurrently
committed
89b887a
View commit details
Copy full SHA for 89b887a
Browse repository at this point
Treat "-" in .tsv file as None.
ericsnowcurrently
committed
89a02c3
View commit details
Copy full SHA for 89a02c3
Browse repository at this point
Fix the statics_from_binary() tests.
ericsnowcurrently
committed
697ab59
View commit details
Copy full SHA for 697ab59
Browse repository at this point
Add code to generate known.tsv.
ericsnowcurrently
committed
66a69c4
View commit details
Copy full SHA for 66a69c4
Browse repository at this point
Fix a typo in get_resolver().
ericsnowcurrently
committed
411aadd
View commit details
Copy full SHA for 411aadd
Browse repository at this point
Fix a typo in _find_statics().
ericsnowcurrently
committed
3bfb345
View commit details
Copy full SHA for 3bfb345
Browse repository at this point
Implement is_supported() (first pass).
ericsnowcurrently
committed
9d731e7
View commit details
Copy full SHA for 9d731e7
Browse repository at this point
Show the vartype in the basic output format.
ericsnowcurrently
committed
021be3c
View commit details
Copy full SHA for 021be3c
Browse repository at this point
Use the underlying ID for the hash of Symbol and Variable.
ericsnowcurrently
committed
f620135
View commit details
Copy full SHA for f620135
Browse repository at this point
Move constants out of c_statics.__init__.
ericsnowcurrently
committed
e7a029d
View commit details
Copy full SHA for e7a029d
Browse repository at this point
Fix a typo.
ericsnowcurrently
committed
b99c9f2
View commit details
Copy full SHA for b99c9f2
Browse repository at this point
Clean up iter_files().
ericsnowcurrently
committed
3aeb32d
View commit details
Copy full SHA for 3aeb32d
Browse repository at this point
Fix typos.
ericsnowcurrently
committed
8a97e50
View commit details
Copy full SHA for 8a97e50
Browse repository at this point
Minor fix to find/resolve.
ericsnowcurrently
committed
51d5a19
View commit details
Copy full SHA for 51d5a19
Browse repository at this point
Include ID in error message.
ericsnowcurrently
committed
19b9f97
View commit details
Copy full SHA for 19b9f97
Browse repository at this point
Add some "naive" parsing tools.
ericsnowcurrently
committed
a9c68c5
View commit details
Copy full SHA for a9c68c5
Browse repository at this point
Expand the capability of the "known" generator.
ericsnowcurrently
committed
2af6781
View commit details
Copy full SHA for 2af6781
Browse repository at this point
Update the "known" variables with generated values.
ericsnowcurrently
committed
aa8495a
View commit details
Copy full SHA for aa8495a
Browse repository at this point
Consider all known variables as static.
ericsnowcurrently
committed
921a465
View commit details
Copy full SHA for 921a465
Browse repository at this point
Distinguish "static" vars in output.
ericsnowcurrently
committed
48b2460
View commit details
Copy full SHA for 48b2460
Browse repository at this point
Special-case variables named "id".
ericsnowcurrently
committed
c0a631b
View commit details
Copy full SHA for c0a631b
Browse repository at this point
Fix a test.
ericsnowcurrently
committed
3989a69
View commit details
Copy full SHA for 3989a69
Browse repository at this point
Print totals.
ericsnowcurrently
committed
8118454
View commit details
Copy full SHA for 8118454
Browse repository at this point
Fail if we couldn't find any of the symbols.
ericsnowcurrently
committed
cae5e3a
View commit details
Copy full SHA for cae5e3a
Browse repository at this point
Factor out _check_results().
ericsnowcurrently
committed
87ebe87
View commit details
Copy full SHA for 87ebe87
Browse repository at this point
Fill in gaps in known.tsv.
ericsnowcurrently
committed
91e4fb1
View commit details
Copy full SHA for 91e4fb1
Browse repository at this point
Mark _Py_IDENTIFIER() as unsupported.
ericsnowcurrently
committed
21c4175
View commit details
Copy full SHA for 21c4175
Browse repository at this point
Keep "static" in output.
ericsnowcurrently
committed
a245849
View commit details
Copy full SHA for a245849
Browse repository at this point
Fix a typo in __main__.py.
ericsnowcurrently
committed
1437d56
View commit details
Copy full SHA for 1437d56
Browse repository at this point
Honor provided dirnames.
ericsnowcurrently
committed
7feea9d
View commit details
Copy full SHA for 7feea9d
Browse repository at this point
Fix tests.
ericsnowcurrently
committed
ae23801
View commit details
Copy full SHA for ae23801
Browse repository at this point
Deal with default dirnames properly.
ericsnowcurrently
committed
26aaccb
View commit details
Copy full SHA for 26aaccb
Browse repository at this point
Supporting hiding objects in output.
ericsnowcurrently
committed
4aaad5f
View commit details
Copy full SHA for 4aaad5f
Browse repository at this point
Recognize more object types.
ericsnowcurrently
committed
3d36cfc
View commit details
Copy full SHA for 3d36cfc
Browse repository at this point
Ignore known non-statics.
ericsnowcurrently
committed
b7420d5
View commit details
Copy full SHA for b7420d5
Browse repository at this point
Always support "static const" (non-object) variables.
ericsnowcurrently
committed
da151a7
View commit details
Copy full SHA for da151a7
Browse repository at this point
"statics" -> "globals".
ericsnowcurrently
committed
6470eb1
View commit details
Copy full SHA for 6470eb1
Browse repository at this point
Maybe limit the variables in known.tsv.
ericsnowcurrently
committed
1233cf9
View commit details
Copy full SHA for 1233cf9
Browse repository at this point
Generate the ignored.tsv file.
ericsnowcurrently
committed
fc6c97e
View commit details
Copy full SHA for fc6c97e
Browse repository at this point
Ignore variables with benign races.
ericsnowcurrently
committed
6f8a223
View commit details
Copy full SHA for 6f8a223
Browse repository at this point
Mark more variables as PyObject.
ericsnowcurrently
committed
6c1db44
View commit details
Copy full SHA for 6c1db44
Browse repository at this point
Consider private, non-static globals.
ericsnowcurrently
committed
5888d48
View commit details
Copy full SHA for 5888d48
Browse repository at this point
Update ignored global variables.
ericsnowcurrently
committed
cdeb1d9
View commit details
Copy full SHA for cdeb1d9
Browse repository at this point
Fix whitespace.
ericsnowcurrently
committed
b5dd31b
View commit details
Copy full SHA for b5dd31b
Browse repository at this point
Commits on Sep 12, 2019
Skip the check where "nm" isn't available.
ericsnowcurrently
committed
569c57e
View commit details
Copy full SHA for 569c57e
Browse repository at this point
Ignore REPL-related variables.
ericsnowcurrently
committed
7b0745f
View commit details
Copy full SHA for 7b0745f
Browse repository at this point
Back
|
FazBrowse Home
|
New Git URL