Skip to content
Snippets Groups Projects
Commit 9514e911 authored by David Bühler's avatar David Bühler
Browse files

[Dive] Renames options -dive-from and -dive-from-function-alarms.

Into -dive-from-variables and -dive-from-alarms respectively.
parent d0bffb62
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,7 @@ module DepthLimit = Int
module FromFunctionAlarms = Kernel_function_set
(struct
let option_name = "-dive-from-function-alarms"
let option_name = "-dive-from-alarms"
let help = "Build the graph from the alarms emitted in the given functions."
let arg_name = "f1,..."
end)
......@@ -109,7 +109,7 @@ module Varinfo_set (X: Parameter_sig.Input_with_arg) =
module FromBases = Varinfo_set
(struct
let option_name = "-dive-from"
let option_name = "-dive-from-variables"
let help = "Build the graph from these local variables."
let arg_name = "f::v,..."
end)
......
/* run.config
STDOPT: +"-dive-from main::w -dive-depth-limit 5"
STDOPT: +"-dive-from-variables main::w -dive-depth-limit 5"
*/
volatile int nondet;
......
/* run.config
STDOPT: +"-dive-from g::r -dive-depth-limit 20"
STDOPT: +"-dive-from-variables g::r -dive-depth-limit 20"
*/
float f(float z) {
......
/* run.config
STDOPT: +"-dive-from main::res -dive-depth-limit 4"
STDOPT: +"-dive-from-variables main::res -dive-depth-limit 4"
*/
int f(int x, int y)
......@@ -13,4 +13,4 @@ int main(int i)
{
int res = f(i, 2*i);
return res;
}
\ No newline at end of file
}
/* run.config
STDOPT: +"-dive-from main::z"
STDOPT: +"-dive-from-variables main::z"
*/
float g;
......
/* run.config
STDOPT: +"-dive-from main::w -dive-depth-limit 20"
STDOPT: +"-dive-from-variables main::w -dive-depth-limit 20"
*/
float f(float x) {
......
/* run.config
STDOPT: +"-dive-from main::y -dive-depth-limit 5"
STDOPT: +"-dive-from-variables main::y -dive-depth-limit 5"
*/
float h(float *p)
......
/* run.config
STDOPT: +"-dive-from main::x -dive-depth-limit 5"
STDOPT: +"-dive-from-variables main::x -dive-depth-limit 5"
*/
void g(float *p) {
......
/* run.config
STDOPT: +"-dive-from g::x -dive-depth-limit 7"
STDOPT: +"-dive-from-variables g::x -dive-depth-limit 7"
*/
float g(float x) {
......
/* run.config
STDOPT: +"-dive-from main::z,f::x2 -dive-from-function-alarms f,main -dive-depth-limit 5"
STDOPT: +"-dive-from-variables main::z,f::x2 -dive-from-alarms f,main -dive-depth-limit 5"
*/
float g;
......
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