i have program no source code.
when run it, have "can't open file..." error in logs.
i called strace trace open calls on kernel, in way:
strace -e trace=open,close,read,write,connect,accept your-command-here
however, seems there none of open calls expecting (that shall happen before log says "can't open file...")
the executable indeed delegated open call tierce library. seems strace trace calls executable on kernel, not of libraries depencies.
i tried use ltrace trace happens in subsequent libraries, doesnt display same informations strace, function calls (which not human-readable).
is there way run strace on executable , libraires in same time ?
strace
should showing of open
calls. however:
- perhaps application calls subprocess work. case, can add
-f
option. - on other hand, may doing work opening socket (or similar) connection process. case, not see trace. likewise, if using syslog interface, actual work may done outside process, potentially in kernel cannot trace tool.
Comments
Post a Comment