From 039dd679ae49b2b9fcf46f48b41c80917d9cc60c Mon Sep 17 00:00:00 2001 From: xiangchen96 Date: Mon, 24 Jun 2024 09:38:14 +0000 Subject: [PATCH] Increase strace strsize (#2182) --- analyzer/linux/lib/core/packages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analyzer/linux/lib/core/packages.py b/analyzer/linux/lib/core/packages.py index afd596e655b..7efa53297d4 100644 --- a/analyzer/linux/lib/core/packages.py +++ b/analyzer/linux/lib/core/packages.py @@ -172,7 +172,7 @@ def strace_analysis(self): # Tricking strace into always showing PID on stderr output # https://github.com/strace/strace/issues/278#issuecomment-1815914576 - cmd = f"sudo strace -o /dev/stderr -ttf {target_cmd}" + cmd = f"sudo strace -o /dev/stderr -s 800 -ttf {target_cmd}" log.info(cmd) self.proc = subprocess.Popen( cmd, env={"XAUTHORITY": "/root/.Xauthority", "DISPLAY": ":0"}, stderr=subprocess.PIPE, shell=True