codeql icon indicating copy to clipboard operation
codeql copied to clipboard

JS: Summarise store steps for type tracking

Open asgerf opened this issue 1 year ago • 0 comments

For type-tracking, we currently have a simple summarization of functions in two cases:

  • Induce a local step when a parameter is returned, and
  • Induce a load step when a property of a parameter is returned.

This PR adds two more summaries:

  • Induce a store step when a parameter is stored on the returned object.
  • Induce a load-store step when a property of a parameter is stored on the returned object.

I ran two evaluations, both of which are fairly quiet. The new call edges seem valid.

asgerf avatar Feb 29 '24 09:02 asgerf