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
Since the program point program.__ROOT__.foo:::POINT has a parent of parent program.__ROOT__:::POINT, I would expect a similar invariant to be reported across these program points, but it is not. I'm basing this on the following quote from the manual:
Suppose there are two program points X and its parent Y. Then every sample seen at X is also seen at Y, and every invariant that is true at Y is also true at X.
However, looking at the StackAr example, it seems that perhaps the trace entries need to be present at both program points for this to work? Some clarification here would be helpful. I'm trying to take advantage of incremental generation so I don't have to write out all the nested data structures at once. This is especially important when the nesting goes more than two deep since it would require repetition at all levels.
The text was updated successfully, but these errors were encountered:
I'm working on a Daikon frontend and I'd like to be able to infer invariants spanning multiple program points with a parent/child relationship.
Version info (Daikon built from source)
Here's an example without hierarchy that does what I expect. When I run this example, I get the invariant
__ROOT__.baz == __ROOT__.foo.bar
.However, I'd like to restructure this output so that instead of nesting the variables multiple levels, the associated program points are nested.
Since the program point
program.__ROOT__.foo:::POINT
has a parent ofparent program.__ROOT__:::POINT
, I would expect a similar invariant to be reported across these program points, but it is not. I'm basing this on the following quote from the manual:However, looking at the
StackAr
example, it seems that perhaps the trace entries need to be present at both program points for this to work? Some clarification here would be helpful. I'm trying to take advantage of incremental generation so I don't have to write out all the nested data structures at once. This is especially important when the nesting goes more than two deep since it would require repetition at all levels.The text was updated successfully, but these errors were encountered: