Skip to content

Commit

Permalink
Increase strace strsize (kevoreilly#2182)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangchen96 authored Jun 24, 2024
1 parent 2bdfdf0 commit 039dd67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analyzer/linux/lib/core/packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 039dd67

Please sign in to comment.