pyt
pyt copied to clipboard
A Static Analysis Tool for Detecting Security Vulnerabilities in Python Web Applications
python 3.7 python-taint==0.42 ```sh % .tox/pyt/bin/pyt tests/a_mock.py Traceback (most recent call last): File ".tox/pyt/bin/pyt", line 10, in sys.exit(main()) File "/home/user/.tox/pyt/lib/python3.7/site-packages/pyt/__main__.py", line 106, in main allow_local_directory_imports=args.allow_local_imports File "/home/user/.tox/pyt/lib/python3.7/site-packages/pyt/cfg/make_cfg.py", line 42, in...
I noticed the error below > RecursionError: maximum recursion depth exceeded while calling a Python object Is there a way to increase the recursion depth?
I am running `python -m pyt -r compiq_api/` and I get: ```pytb Traceback (most recent call last): File "/Users/alex/.pyenv/versions/3.7.0/lib/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/Users/alex/.pyenv/versions/3.7.0/lib/python3.7/runpy.py", line 85, in...
https://github.com/python-security/pyt/blob/e692581255d551ae13963dab8913f729cb5023ee/pyt/cfg/expr_visitor.py#L207-L209 I'm not that sure what the correct behaviour here is. Capitalisation looks wrong so I think `type(Node) == BBorBInode` will always be `False`. Removing the check on L209 doesn't...
We [currently use inlining instead of summaries](https://github.com/python-security/pyt/tree/master/pyt/cfg), for inter-procedural analysis, which makes PyT slower than it needs to be. Here are some videos, specifically the last one, explains function summaries...
I wrote some of the code to do this in a branch https://github.com/python-security/pyt/compare/class_based_views, but since I'm working on other things and this feature seems cool and important I'm making this...
I noticed some code I had crashed pyt. I managed to reduce it to what I think is the minimum required for the RecursionError. In the original code we had...
Test coverage is always important, and my goal is to eventually be at 100%. I'll be sure to do this for PRs from now on, or at least try to,...