You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following test case was introduced by #195 and is currently failing:
funcTestTaintFieldOnNonSourceStruct(s core.Source, i*core.Innocuous) {
i.Data=s.Datacore.Sink(i) // TODO want "a source has reached a sink"core.Sink(i.Data) // TODO want "a source has reached a sink"
}
This behavior is inadequate: It should be possible to taint a field on a non-Source struct, and tainting this field should taint the struct.
The following test case is also failing:
funcTestTaintNonSourceFieldOnSourceType(s core.Source, i*core.Innocuous) {
s.ID, _=strconv.Atoi(s.Data)
core.Sink(s.ID) // TODO want "a source has reached a sink"
}
It should be possible to taint a non-source field on a source type.
This is related to this piece of propagation code:
The following test case was introduced by #195 and is currently failing:
This behavior is inadequate: It should be possible to taint a field on a non-Source struct, and tainting this field should taint the struct.
The following test case is also failing:
It should be possible to taint a non-source field on a source type.
This is related to this piece of propagation code:
Currently, we stop traversing when we reach a field unless the field is a Source.
See #195 for additional discussion.
The text was updated successfully, but these errors were encountered: