-
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.
Fix
ViaTypeOf
and ViaAttributeName
on dataclass attributes
Summary: Since we do not see the implementation of the constructor for dataclasses, we do not properly implement `ViaTypeOf` and `ViaAttributeName` on attribute of dataclasses. Fortunately, we already have special handling to generate models of dataclass constructors. This diff improves it to properly translate `ViaTypeOf` and `ViaAttributeName` on attributes into the proper feature on the constructor argument. Reviewed By: alexkassil Differential Revision: D48398821 fbshipit-source-id: 878596025114584d0bc0365575dbf72736caba04
- Loading branch information
1 parent
48a5c3f
commit f8415ea
Showing
5 changed files
with
295 additions
and
83 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
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
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
1 change: 1 addition & 0 deletions
1
source/interprocedural_analyses/taint/test/integration/via_type_of.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
Oops, something went wrong.