Skip to content
Snippets Groups Projects
Commit c8556efd authored by Andre Maroneze's avatar Andre Maroneze
Browse files

[Eva] use GCC machdep to increase amount of tested features

parent 45697b01
No related branches found
No related tags found
No related merge requests found
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
STDOPT: +" -machdep gcc_x86_32 -cpp-extra-args=-DP1 -then -lib-entry" STDOPT: +" -machdep gcc_x86_32 -cpp-extra-args=-DP1 -then -lib-entry"
STDOPT: +" -machdep gcc_x86_32 -cpp-extra-args=-DP2 -lib-entry" STDOPT: +" -machdep gcc_x86_32 -cpp-extra-args=-DP2 -lib-entry"
STDOPT: +" -machdep gcc_x86_32 -cpp-extra-args=-DP3 -lib-entry" STDOPT: +" -machdep gcc_x86_32 -cpp-extra-args=-DP3 -lib-entry"
STDOPT: +" -cpp-extra-args=-DP1 -lib-entry" STDOPT: +" -machdep gcc_x86_32 -cpp-extra-args=-DP1 -lib-entry"
STDOPT: +" -cpp-extra-args=-DP1 -absolute-valid-range 0-1 -main main2" STDOPT: +" -machdep gcc_x86_32 -cpp-extra-args=-DP1 -absolute-valid-range 0-1 -main main2"
STDOPT: +" -cpp-extra-args=\"-DP1 -DP5\" -machdep gcc_x86_32 -absolute-valid-range 0-1 -main main3" STDOPT: +" -cpp-extra-args=\"-DP1 -DP5\" -machdep gcc_x86_32 -absolute-valid-range 0-1 -main main3"
STDOPT: +" -machdep gcc_x86_32 -cpp-extra-args=-DP1 -main main4" STDOPT: +" -machdep gcc_x86_32 -cpp-extra-args=-DP1 -main main4"
*/ */
......
[kernel] Parsing tests/value/empty_struct.c (with preprocessing) [kernel] Parsing tests/value/empty_struct.c (with preprocessing)
[kernel] tests/value/empty_struct.c:13: User Error: [eva] Analyzing an incomplete application starting at main
empty structs only allowed for GCC/MSVC [eva] Computing initial state
[kernel] tests/value/empty_struct.c:67: User Error: [eva] Initial state computed
empty structs only allowed for GCC/MSVC [eva:initial-state] Values of globals at initialization
[kernel] User Error: stopping on file "tests/value/empty_struct.c" that has errors. Add s2 ∈ [--..--]
'-kernel-msg-key pp' for preprocessing command. pgs ∈ {{ NULL ; &S_pgs[-1] }}
[kernel] Frama-C aborted: invalid user input. [eva] Recording results for main
[eva] done for function main
[eva] ====== VALUES COMPUTED ======
[eva:final-states] Values at end of function main:
p ∈ {{ (void *)&s }}
[from] Computing for function main
[from] Done for function main
[from] ====== DEPENDENCIES COMPUTED ======
These dependencies hold at termination for the executions that terminate:
[from] Function main:
NO EFFECTS
[from] ====== END OF DEPENDENCIES ======
[inout] Out (internal) for function main:
p
[inout] Inputs for function main:
\nothing
[kernel] Parsing tests/value/empty_struct.c (with preprocessing) [kernel] Parsing tests/value/empty_struct.c (with preprocessing)
[kernel] tests/value/empty_struct.c:13: User Error: [eva] Analyzing a complete application starting at main2
empty structs only allowed for GCC/MSVC [eva] Computing initial state
[kernel] tests/value/empty_struct.c:67: User Error: [eva] Initial state computed
empty structs only allowed for GCC/MSVC [eva:initial-state] Values of globals at initialization
[kernel] User Error: stopping on file "tests/value/empty_struct.c" that has errors. Add NULL[rbits 0 to 15] ∈ [--..--]
'-kernel-msg-key pp' for preprocessing command. s2 ∈ {0}
[kernel] Frama-C aborted: invalid user input. pgs ∈ {{ &gs }}
[eva:alarm] tests/value/empty_struct.c:70: Warning:
out of bounds read. assert \valid_read(ptr_ret);
[eva] Recording results for main2
[eva] done for function main2
[eva] tests/value/empty_struct.c:70:
assertion 'Eva,mem_access' got final status invalid.
[eva] ====== VALUES COMPUTED ======
[eva:final-states] Values at end of function main2:
ptr_ret ∈ {2}
[from] Computing for function main2
[from] Done for function main2
[from] ====== DEPENDENCIES COMPUTED ======
These dependencies hold at termination for the executions that terminate:
[from] Function main2:
NO EFFECTS
[from] ====== END OF DEPENDENCIES ======
[inout] Out (internal) for function main2:
ptr_ret
[inout] Inputs for function main2:
\nothing
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment