- Some reindentation. Nothing interesting, just syntax.
This commit is contained in:
parent
e21627442a
commit
4023ef237e
@ -12,7 +12,8 @@
|
|||||||
// Private methods
|
// Private methods
|
||||||
//************************************************************************
|
//************************************************************************
|
||||||
|
|
||||||
int selfInitiator(const System sys, const int run)
|
int
|
||||||
|
selfInitiator (const System sys, const int run)
|
||||||
{
|
{
|
||||||
int self_initiator;
|
int self_initiator;
|
||||||
|
|
||||||
@ -47,7 +48,8 @@ int selfInitiator(const System sys, const int run)
|
|||||||
}
|
}
|
||||||
|
|
||||||
//! Count the number of any self-initiators
|
//! Count the number of any self-initiators
|
||||||
int selfInitiators(const System sys)
|
int
|
||||||
|
selfInitiators (const System sys)
|
||||||
{
|
{
|
||||||
int count;
|
int count;
|
||||||
int run;
|
int run;
|
||||||
@ -77,7 +79,8 @@ int selfInitiators(const System sys)
|
|||||||
*
|
*
|
||||||
* A lower value (closer to 0) is a more feasible attack.
|
* A lower value (closer to 0) is a more feasible attack.
|
||||||
*/
|
*/
|
||||||
int attackCost(const System sys)
|
int
|
||||||
|
attackCost (const System sys)
|
||||||
{
|
{
|
||||||
int cost;
|
int cost;
|
||||||
|
|
||||||
|
@ -349,7 +349,8 @@ dotSemiState (const System sys)
|
|||||||
// Third, the intruder node (if needed)
|
// Third, the intruder node (if needed)
|
||||||
if (from_intruder_count > 0)
|
if (from_intruder_count > 0)
|
||||||
{
|
{
|
||||||
eprintf ("\tintruder [label=\"Initial intruder knowledge\", color=red];\n");
|
eprintf
|
||||||
|
("\tintruder [label=\"Initial intruder knowledge\", color=red];\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fourth, all ranking info
|
// Fourth, all ranking info
|
||||||
@ -413,4 +414,3 @@ dotSemiState (const System sys)
|
|||||||
// close graph
|
// close graph
|
||||||
eprintf ("};\n\n");
|
eprintf ("};\n\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user