Skip to main content

strace-ltrace

Use strace and ltrace for authorized syscall and library-call tracing of provided binaries and processes.

跳到安装

来源信息

仓库
Aethena-Lab/Z3r0
最近来源活动
2026年9月3日 10:00
检测到的 SKILL.md 语言
英语
星标
891
分支
193

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
strace-ltrace
description
Use strace and ltrace for authorized syscall and library-call tracing of provided binaries and processes.
# strace-ltrace Use `strace` and `ltrace` for syscall and library-call tracing during authorized runtime analysis. ## Help first Before constructing commands, use installed help or version output as the source of truth: ```sh strace --help ltrace --help ``` ## Usage rules - Trace only provided binaries, task-scoped test programs, or authorized processes. - Save traces to files for anything beyond a short bounded run. - Set follow-fork, string length, syscall filters, and timeout behavior deliberately. - Treat command-line arguments, environment values, file paths, and network endpoints as potentially sensitive. - Do not run untrusted samples unless execution is explicitly authorized. ## Common workflows Trace a short local run and follow child processes: ```sh strace -f -s 256 -o strace.log -- ./program arg1 ``` Focus on file, process, and network syscalls: ```sh strace -f -s 256 -e trace=file,process,network -o strace-focused.log -- ./program ``` Trace dynamic library calls when the binary is dynamically linked: ```sh ltrace -f -o ltrace.log -- ./program arg1 ``` Attach only to authorized processes: ```sh strace -p 1234 -o strace-pid.log ``` ## Output Report traced program or PID, command used, output path, notable syscalls or library calls, and any sensitive data handling.
在 GitHub 查看