"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "interprocedural_analyses/taint/test/integration/multiple_sources.py" between
pyre-check-0.0.53.tar.gz and pyre-check-0.0.54.tar.gz

About: Pyre is a performant type checker for Python (ships with Pysa, a security focused static analysis tool).

multiple_sources.py  (pyre-check-0.0.53):multiple_sources.py  (pyre-check-0.0.54)
skipping to change at line 55 skipping to change at line 55
vc = permissive_context() vc = permissive_context()
demonstrate_triggered_input(vc) demonstrate_triggered_input(vc)
def wrapper(id, vc): def wrapper(id, vc):
Node.get(id).send(vc) Node.get(id).send(vc)
def no_issue_with_wrapper_call(): def no_issue_with_wrapper_call():
id = user_controlled_input() id = user_controlled_input()
vc = permissive_context() vc = permissive_context()
combine_tainted_user_and_dangerous_vc_as_params(id, vc) combine_tainted_user_and_dangerous_vc_as_params(id, vc)
def test_other_input():
return "other"
def combines_tests_and_context(test, vc):
return None
def a_source():
return None
def b_source():
return None
def issue_with_test_a_and_b():
combines_tests_and_context(a_source(), permissive_context())
combines_tests_and_context(b_source(), permissive_context())
 End of changes. 1 change blocks. 
0 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)