Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Verifpal
Verifpal
Commits
e83f8a50
Verified
Commit
e83f8a50
authored
Jan 17, 2021
by
Nadim Kobeissi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
cmd/vplogic/verify.go
cmd/vplogic/verify.go
+3
-1
cmd/vplogic/verifyactive.go
cmd/vplogic/verifyactive.go
+3
-1
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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