Class ProcessThroughDataStoreComm

java.lang.Object
org.eclipse.viatra.query.runtime.api.impl.BaseQuerySpecification<ProcessThroughDataStoreComm.Matcher>
org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification<ProcessThroughDataStoreComm.Matcher>
be.kuleuven.cs.distrinet.sparta.queries.ProcessThroughDataStoreComm
All Implemented Interfaces:
org.eclipse.viatra.query.runtime.api.IQuerySpecification<ProcessThroughDataStoreComm.Matcher>, org.eclipse.viatra.query.runtime.matchers.psystem.queries.PQueryHeader

public final class ProcessThroughDataStoreComm extends org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification<ProcessThroughDataStoreComm.Matcher>
A pattern-specific query specification that can instantiate Matcher in a type-safe way.

Original source:

         pattern processThroughDataStoreComm(location : Process, p2 : DataStore, df : DataFlow,
                                                                        t : ThreatType) {
                Process(location); DataStore(p2); DataFlow(df);
                
                find threatApplicable(location,t,"ProcessThroughDataStore");
                
                find communication(location,df,p2);
                find flowContainerDiff(location,p2);
         } 
         or {
                // add inverse direction
                Process(location); DataStore(p2); DataFlow(df);
                
                find threatApplicable(location,t,"DataStoreThroughProcess");
         
                find communication(p2,df,location);
                find flowContainerDiff(location,p2);
         }
 
See Also: