Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Verifpal
Verifpal
Commits
e83f8a50
Verified
Commit
e83f8a50
authored
Jan 17, 2021
by
Nadim Kobeissi
💾
Browse files
Satisfy linter
parent
c5511798
Pipeline
#837
passed with stages
in 2 minutes and 21 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
cmd/vplogic/verify.go
View file @
e83f8a50
...
...
@@ -116,7 +116,9 @@ func verifyPassive(valKnowledgeMap *KnowledgeMap, valPrincipalStates []*Principa
for
phase
<=
valKnowledgeMap
.
MaxPhase
{
attackerStateInit
(
false
)
valPrincipalStatePureResolved
:=
constructPrincipalStateClone
(
valPrincipalStates
[
0
],
true
)
valPrincipalStatePureResolved
,
err
:=
valueResolveAllPrincipalStateValues
(
valPrincipalStatePureResolved
,
attackerStateGetRead
())
valPrincipalStatePureResolved
,
err
:=
valueResolveAllPrincipalStateValues
(
valPrincipalStatePureResolved
,
attackerStateGetRead
(),
)
if
err
!=
nil
{
return
err
}
...
...
cmd/vplogic/verifyactive.go
View file @
e83f8a50
...
...
@@ -17,7 +17,9 @@ func verifyActive(valKnowledgeMap *KnowledgeMap, valPrincipalStates []*Principal
InfoMessage
(
fmt
.
Sprintf
(
"Running at phase %d."
,
phase
),
"info"
,
false
)
attackerStateInit
(
true
)
valPrincipalStatePureResolved
:=
constructPrincipalStateClone
(
valPrincipalStates
[
0
],
true
)
valPrincipalStatePureResolved
,
err
:=
valueResolveAllPrincipalStateValues
(
valPrincipalStatePureResolved
,
attackerStateGetRead
())
valPrincipalStatePureResolved
,
err
:=
valueResolveAllPrincipalStateValues
(
valPrincipalStatePureResolved
,
attackerStateGetRead
(),
)
if
err
!=
nil
{
return
err
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment