dotnet / dotnet/linker

[DAM analyzer] implement array tracking reset

Open
#2,680 1 comment 0 reactions 1 assignee Claimed by @jtschuster View on GitHub
area-Analyzers
Dominant language
C#
Stars
392
Forks
128
Avg merge
2d 10h
Merged PRs (30d)
2

Description

Some write operations on arrays can't be fully tracked (unknown index access for example) or cases where the array is handed out to something else (since it's a ref type). In all these cases the data flow tracking can't correctly track the contents of an array anymore. The analyzer should reset the array values to all unknowns in this case.

Linker currently implements this for the most part, but analyzer only partially. See references to this issue in tests for cases where we know about differences in behavior.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.