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