Strace ltrace

From yv1ing/Z3r0 · View interactive version

Strace ltrace is an AI agent skill from the GitHub repository yv1ing/Z3r0. Use strace and ltrace for authorized syscall and library-call tracing of provided binaries and processes.

How to use this skill

Skill file

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:

strace --help
ltrace --help

Usage rules

Common workflows

Trace a short local run and follow child processes:

strace -f -s 256 -o strace.log -- ./program arg1

Focus on file, process, and network syscalls:

strace -f -s 256 -e trace=file,process,network -o strace-focused.log -- ./program

Trace dynamic library calls when the binary is dynamically linked:

ltrace -f -o ltrace.log -- ./program arg1

Attach only to authorized processes:

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.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.