Professional Documents
Culture Documents
’19H2
송인식
strace
• strace is a system call trace
– Debugging tool which prints out a trace of all system calls
made by a process/program
– Program to be traced need not be recompiled for this, so it
can be used on binaries for which there is no source
• In the simplest case, strace runs the specified
command until it exits
• Intercepts and records the system calls which are
called by a process and the signals which are received
by a process
C/C++
C/C++Source
Source Assembly
Assembly Linker
Makefile and Header
and Header Source
Source Script
Files
Files Files
Files File
compiler assembler
Object
Object
Archive Utility Files
Files
Library
Library
Files
Files
Linker and Locator
Shared
Linkable Executable Link Map
Object
Image File Image File File
File