Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Thunderbird/scripts/ci/   (Thunderbird Email Client Version 5.6©)  Datei vom 22.9.2026 mit Größe 820 B image not shown  

Quelle  run-fluidattacks-scanners.sh   Sprache: Shell

 

#!/bin/bash

function fail() {
  echo "Error: $*"
  exit 1
}

# Check if tools are installed
command -v docker &> /dev/null || fail "Docker is not installed"

# Default values
debug=false

IMAGE_SAST="fluidattacks/sast:latest"
IMAGE_SCA="fluidattacks/sca:latest"

# Parse command-line arguments
for arg in "$@"; do
  case $arg in
    --debug)
      debug=true
      shift
      ;;
    *)
      fail "Unknown argument: $arg"
      ;;
  esac
done

if [ "$debug" = true ]; then
  docker run --rm -v "$(pwd)":/repo -it "$IMAGE_SAST" /bin/bash
  docker run --rm -v "$(pwd)":/repo -it "$IMAGE_SCA" /bin/bash
  exit
fi

docker run --rm -v "$(pwd)":/repo "$IMAGE_SAST" \
  sast scan /repo/config/fluidattacks/config-sast.yaml
docker run --rm -v "$(pwd)":/repo "$IMAGE_SCA" \
  sca scan /repo/config/fluidattacks/config-sca.yaml

Messung
CHZG
849810094

¤ Dauer der Verarbeitung: 0.1 Sekunden  (vorverarbeitet am  2026-11-04) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover


Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.