Skip to content
GitLab
Menu
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
f17eb291
Commit
f17eb291
authored
Sep 27, 2019
by
Julien Signoles
Browse files
[archi] fix is_main
parent
15aaf8d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/e-acsl/src/code_generator/injector.ml
View file @
f17eb291
...
...
@@ -25,12 +25,9 @@ open Cil_datatype
let
dkey
=
Options
.
dkey_translation
(* [TODO ARCHI] move it in another module *)
let
is_main
kf
=
try
let
main
,
_
=
Globals
.
entry_point
()
in
Kernel_function
.
equal
kf
main
with
Globals
.
No_such_entry_point
_s
->
false
Datatype
.
String
.
equal
(
Kernel_function
.
get_name
kf
)
"main"
(* ************************************************************************** *)
(* Code *)
...
...
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