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

[Analysis-scripts] add creduce command to frama-c-script

parent 631de758
No related branches found
No related tags found
No related merge requests found
...@@ -37,6 +37,11 @@ usage() { ...@@ -37,6 +37,11 @@ usage() {
echo " and non-POSIX external libraries." echo " and non-POSIX external libraries."
echo " (run 'frama-c -machdep help' to get the list of machdeps)." echo " (run 'frama-c -machdep help' to get the list of machdeps)."
echo "" echo ""
echo " - creduce <args>"
echo " Use the external tool C-Reduce to minimize C files when"
echo " debugging crashes and fatal errors. Run without arguments for"
echo " more details."
echo ""
echo " - estimate-difficulty file..." echo " - estimate-difficulty file..."
echo " Applies several heuristics to try and estimate the difficulty" echo " Applies several heuristics to try and estimate the difficulty"
echo " of analyzing the specified files with Frama-C." echo " of analyzing the specified files with Frama-C."
...@@ -259,6 +264,10 @@ case "$command" in ...@@ -259,6 +264,10 @@ case "$command" in
shift; shift;
"${FRAMAC_SHARE}"/analysis-scripts/normalize_jcdb.py "$@"; "${FRAMAC_SHARE}"/analysis-scripts/normalize_jcdb.py "$@";
;; ;;
"creduce")
shift;
${FRAMAC_SHARE}/analysis-scripts/creduce.sh "$@";
;;
*) *)
echo "error: unrecognized command: $command"; echo "error: unrecognized command: $command";
exit 1 exit 1
......
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