Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pub
frama-c
Commits
c4c6efc8
Commit
c4c6efc8
authored
Jan 17, 2023
by
David Bühler
Browse files
[server] Fixes the synchronized properties array on status updates.
parent
2712368c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/server/kernel_properties.ml
View file @
c4c6efc8
...
...
@@ -322,9 +322,13 @@ let is_relevant ip =
||
Cil_builtins
.
is_unused_builtin
(
Kernel_function
.
get_vi
kf
))
let
iter
f
=
Property_status
.
iter
(
fun
ip
->
if
is_relevant
ip
then
f
ip
)
let
add_update_hook
f
=
Property_status
.
register_property_add_hook
(
fun
ip
->
if
is_relevant
ip
then
f
ip
)
(
fun
ip
->
if
is_relevant
ip
then
f
ip
);
Property_status
.
register_status_update_hook
(
fun
_emitter
ip
_status
->
if
is_relevant
ip
then
f
ip
)
let
add_remove_hook
f
=
Property_status
.
register_property_remove_hook
(
fun
ip
->
if
is_relevant
ip
then
f
ip
)
...
...
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