Ruby: Allow for implicit array reads at all sinks during taint tracking

This commit is contained in:
Tom Hvitved
2023-03-27 13:42:11 +02:00
parent 111227e763
commit e258324960
23 changed files with 1452 additions and 1396 deletions

View File

@@ -216,7 +216,7 @@ def m_partition
sink b[0] # $ hasTaintFlow=a
sink b[1] # $ hasTaintFlow=a
sink b[2] # $ hasTaintFlow=a
sink b[3]
sink b[3] # $ hasTaintFlow=a (because of the flow summary for Array#partition)
end
def m_replace