-
Notifications
You must be signed in to change notification settings - Fork 437
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Indirect function call chain false negative
Summary: FN determined thanks to marat-turaev 's comment. Thanks gbleaney for pointing me to a better place to add these tests/explaining the historical context behind the builder pattern. Reviewed By: tianhan0 Differential Revision: D48344707 fbshipit-source-id: 920b30faf33492f050b63561a72a57d75296eb71
- Loading branch information
1 parent
9c39b5a
commit 810830c
Showing
3 changed files
with
73 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
source/interprocedural_analyses/taint/test/integration/builder_pattern.py.cg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,22 @@ | ||
@generated | ||
Call dependencies | ||
builder_pattern.test_chained_class_setter (fun) -> [_test_sink (fun) _test_source (fun) builder_pattern.Builder::__init__ (method) builder_pattern.Builder::return_self (method) builder_pattern.Builder::set_saved_no_return (method) object::__new__ (method)] | ||
builder_pattern.test_issue_with_sub_builder (fun) -> [_test_source (fun) builder_pattern.Builder::__init__ (method) builder_pattern.Builder::async_save (method) builder_pattern.Builder::set_not_saved_through_typevar (method) builder_pattern.Builder::set_saved_through_typevar (method) object::__new__ (method)] | ||
builder_pattern.test_issue_with_type_var (fun) -> [_test_source (fun) builder_pattern.Builder::__init__ (method) builder_pattern.Builder::async_save (method) builder_pattern.Builder::set_not_saved_through_typevar (method) builder_pattern.Builder::set_saved_through_typevar (method) object::__new__ (method)] | ||
builder_pattern.test_no_issue_with_sub_builder (fun) -> [_test_source (fun) builder_pattern.Builder::__init__ (method) builder_pattern.Builder::async_save (method) builder_pattern.Builder::set_not_saved_through_typevar (method) builder_pattern.Builder::set_saved_through_typevar (method) object::__new__ (method)] | ||
builder_pattern.test_no_issue_with_type_var (fun) -> [_test_source (fun) builder_pattern.Builder::__init__ (method) builder_pattern.Builder::async_save (method) builder_pattern.Builder::set_not_saved_through_typevar (method) builder_pattern.Builder::set_saved_through_typevar (method) object::__new__ (method)] | ||
builder_pattern.test_taint_update_receiver_declaration (fun) -> [_test_sink (fun) _test_source (fun) builder_pattern.Builder::__init__ (method) builder_pattern.Builder::return_self (method) builder_pattern.Builder::set_saved (method) object::__new__ (method)] | ||
builder_pattern.$toplevel (fun) -> [builder_pattern.T (object)] | ||
builder_pattern.test_class_setter (fun) -> [_test_sink (fun) _test_source (fun) builder_pattern.Builder::__init__ (method) builder_pattern.Builder::set_saved_no_return (method) object::__new__ (method)] | ||
builder_pattern.test_issue (fun) -> [_test_source (fun) builder_pattern.Builder::__init__ (method) builder_pattern.Builder::async_save (method) builder_pattern.Builder::set_not_saved (method) builder_pattern.Builder::set_saved (method) object::__new__ (method)] | ||
builder_pattern.test_no_issue (fun) -> [_test_source (fun) builder_pattern.Builder::__init__ (method) builder_pattern.Builder::async_save (method) builder_pattern.Builder::set_not_saved (method) builder_pattern.Builder::set_saved (method) object::__new__ (method)] | ||
builder_pattern.Builder::set_not_saved_through_typevar (method) -> [] | ||
builder_pattern.Builder::set_saved_no_return (method) -> [] | ||
builder_pattern.Builder::set_saved_through_typevar (method) -> [] | ||
builder_pattern.Builder::$class_toplevel (method) -> [] | ||
builder_pattern.Builder::__init__ (method) -> [] | ||
builder_pattern.Builder::async_save (method) -> [_test_sink (fun)] | ||
builder_pattern.Builder::return_self (method) -> [] | ||
builder_pattern.Builder::set_not_saved (method) -> [] | ||
builder_pattern.Builder::set_saved (method) -> [] | ||
builder_pattern.SubBuilder::$class_toplevel (method) -> [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters