/// <summary> /// Create an edge from serialised edge data /// </summary> /// <param name="edgeType">The control flow class of the edge</param> /// <param name="execCount">The number of recorded edge executions</param> /// <param name="index">Index of the edge in the edge list</param> /// <param name="sourceType">Type of soure node (jump, etc)</param> public EdgeData(CONSTANTS.EdgeNodeType edgeType, ulong execCount, int index, CONSTANTS.EdgeNodeType sourceType) { EdgeListIndex = index; edgeClass = edgeType; ExecutionCount = execCount; sourceNodeType = sourceType; }
/// <summary> /// Create a new edge /// </summary> /// <param name="index">Index of the edge in the edge list</param> /// <param name="sourceType">Type of soure node (jump, etc)</param> /// <param name="execCount">Number of edge executions</param> public EdgeData(int index, CONSTANTS.EdgeNodeType sourceType, ulong execCount = 0) { EdgeListIndex = index; sourceNodeType = sourceType; ExecutionCount = execCount; }