Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
pub
frama-c
Commits
2829541b
Commit
2829541b
authored
8 months ago
by
Andre Maroneze
Browse files
Options
Downloads
Patches
Plain Diff
[analysis-scripts] ensure sorted output in heuristic-list-functions
parent
0e6454df
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
share/analysis-scripts/heuristic_list_functions.py
+1
-1
1 addition, 1 deletion
share/analysis-scripts/heuristic_list_functions.py
tests/fc_script/heuristic-list-functions.t/run.t
+17
-17
17 additions, 17 deletions
tests/fc_script/heuristic-list-functions.t/run.t
with
18 additions
and
18 deletions
share/analysis-scripts/heuristic_list_functions.py
+
1
−
1
View file @
2829541b
...
...
@@ -51,7 +51,7 @@ want_defs = boolish_string(sys.argv[1])
want_decls
=
boolish_string
(
sys
.
argv
[
2
])
files
=
sys
.
argv
[
3
:]
for
f
in
files
:
for
f
in
sorted
(
files
)
:
with
open
(
f
,
encoding
=
"
ascii
"
,
errors
=
"
ignore
"
)
as
data
:
file_content
=
data
.
read
()
file_lines
=
file_content
.
splitlines
(
keepends
=
True
)
...
...
This diff is collapsed.
Click to expand it.
tests/fc_script/heuristic-list-functions.t/run.t
+
17
−
17
View file @
2829541b
...
...
@@ -14,23 +14,6 @@
find
-
fun2
.
c:10:13:
g
(
definition
)
find
-
fun2
.
c:15:17:
h
(
definition
)
find
-
fun2
.
c:24:27:
static_fun
(
definition
)
list
-
functions
.
c:4:11:
static_fun
(
definition
)
list
-
functions
.
c:13:18:
k
(
definition
)
main
.
c:1:3:
main
(
definition
)
main2
.
c:1:3:
fake_main
(
definition
)
main2
.
c:5:7:
domain
(
definition
)
main2
.
c:9:11:
main2
(
definition
)
main3
.
c:1:4:
main
(
definition
)
make
-
wrapper
.
c:1:1:
defined
(
declaration
)
make
-
wrapper
.
c:3:3:
specified
(
declaration
)
make
-
wrapper
.
c:5:5:
external
(
declaration
)
make
-
wrapper
.
c:7:9:
large_name_to_force_line_break_in_stack_msg
(
definition
)
make
-
wrapper
.
c:11:13:
rec
(
definition
)
make
-
wrapper
.
c:15:21:
main
(
definition
)
make
-
wrapper2
.
c:1:3:
defined
(
definition
)
make
-
wrapper2
.
c:9:9:
specified
(
declaration
)
make
-
wrapper2
.
c:12:12:
external
(
declaration
)
make
-
wrapper3
.
c:3:5:
external
(
definition
)
heuristic
-
detect
-
recursion
.
i:3:5:
g
(
definition
)
heuristic
-
detect
-
recursion
.
i:7:10:
f
(
definition
)
heuristic
-
detect
-
recursion
.
i:12:15:
h
(
definition
)
...
...
@@ -51,3 +34,20 @@
heuristic
-
detect
-
recursion
.
i:61:61:
multiple_indirect1
(
declaration
)
heuristic
-
detect
-
recursion
.
i:63:66:
multiple_indirect2
(
definition
)
heuristic
-
detect
-
recursion
.
i:68:71:
multiple_indirect1
(
definition
)
list
-
functions
.
c:4:11:
static_fun
(
definition
)
list
-
functions
.
c:13:18:
k
(
definition
)
main
.
c:1:3:
main
(
definition
)
main2
.
c:1:3:
fake_main
(
definition
)
main2
.
c:5:7:
domain
(
definition
)
main2
.
c:9:11:
main2
(
definition
)
main3
.
c:1:4:
main
(
definition
)
make
-
wrapper
.
c:1:1:
defined
(
declaration
)
make
-
wrapper
.
c:3:3:
specified
(
declaration
)
make
-
wrapper
.
c:5:5:
external
(
declaration
)
make
-
wrapper
.
c:7:9:
large_name_to_force_line_break_in_stack_msg
(
definition
)
make
-
wrapper
.
c:11:13:
rec
(
definition
)
make
-
wrapper
.
c:15:21:
main
(
definition
)
make
-
wrapper2
.
c:1:3:
defined
(
definition
)
make
-
wrapper2
.
c:9:9:
specified
(
declaration
)
make
-
wrapper2
.
c:12:12:
external
(
declaration
)
make
-
wrapper3
.
c:3:5:
external
(
definition
)
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