From 21c31fc6d831104326a5a474451e18a4bef13273 Mon Sep 17 00:00:00 2001 From: Lorenzo Gabriele Date: Mon, 29 Jun 2026 16:32:05 +0200 Subject: [PATCH] fix: Set file max-target-bytes to 150Kb --- internal/tool/command.go | 2 +- internal/tool/command_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/tool/command.go b/internal/tool/command.go index 71af0b3..cff0999 100644 --- a/internal/tool/command.go +++ b/internal/tool/command.go @@ -83,7 +83,7 @@ func createCommandParameters(language string, configurationFile *os.File, filesT //"-l", language, "--timeout", "10", "--timeout-threshold", "5", - "--max-target-bytes", "0", + "--max-target-bytes", "150000", "--taint-intrafile", //"--error-recovery", "--max-memory", "5000", diff --git a/internal/tool/command_test.go b/internal/tool/command_test.go index c0a6fd4..ce819bd 100644 --- a/internal/tool/command_test.go +++ b/internal/tool/command_test.go @@ -46,7 +46,7 @@ func TestCreateCommandParameters(t *testing.T) { "--config", configurationFile.Name(), "--timeout", "10", "--timeout-threshold", "5", - "--max-target-bytes", "0", + "--max-target-bytes", "150000", // "-error_recovery", // "-max_memory", "2560", // "-fast",