Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
Norodom-AnaStat-Frama-C-24-25
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Norodom Thomas
Norodom-AnaStat-Frama-C-24-25
Commits
5ffcff00
Commit
5ffcff00
authored
1 week ago
by
Norodom Thomas
Browse files
Options
Downloads
Patches
Plain Diff
fin de constant propag sans raffinement
parent
d2e2ea4b
Branches
main
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tp2/Pystan/config/__pycache__/constant_propagation.cpython-313.pyc
+0
-0
0 additions, 0 deletions
...n/config/__pycache__/constant_propagation.cpython-313.pyc
tp2/Pystan/config/constant_propagation.py
+1
-1
1 addition, 1 deletion
tp2/Pystan/config/constant_propagation.py
with
1 addition
and
1 deletion
tp2/Pystan/config/__pycache__/constant_propagation.cpython-313.pyc
+
0
−
0
View file @
5ffcff00
No preview for this file type
This diff is collapsed.
Click to expand it.
tp2/Pystan/config/constant_propagation.py
+
1
−
1
View file @
5ffcff00
...
...
@@ -121,7 +121,7 @@ class Constant_propagation(Transfer[state]):
return
False
else
:
for
var
in
s1
:
included
=
included
and
((
s1
[
var
]
==
s2
[
var
])
|
(
s1
[
var
]
==
None
))
included
=
included
and
((
s1
[
var
]
==
s2
[
var
])
|
(
s1
[
var
]
==
abstract_value
(
None
))
)
return
included
def
tr_skip
(
self
,
s
:
state
)
->
state
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment