Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ltrace intercepts and records dynamic library calls which are called by an executed process and the signals received by that process. It can also intercept and print the system calls executed by the program. http://www.ltrace.org/ buczek@theinternet:~/git/bee-files (add-ltrace)$ ltrace /bin/echo bla 2>&1 getenv("POSIXLY_CORRECT") = nil strrchr("/bin/echo", '/') = "/echo" setlocale(LC_ALL, "") = "LC_CTYPE=en_US.UTF-8;LC_NUMERIC="... bindtextdomain("coreutils", "/usr/share/locale") = "/usr/share/locale" textdomain("coreutils") = "coreutils" __cxa_atexit(0x401ce0, 0, 0, 0x736c6974756572) = 0 strcmp("bla", "--help") = 53 strcmp("bla", "--version") = 53 fputs_unlocked(0x7ffeb9e2ba79, 0x7f6db23d0760, 0, 45) = 1 __overflow(0x7f6db23d0760, 10, 0x609342, 0xfbad2a84bla) = 10 __fpending(0x7f6db23d0760, 0, 0x401ce0, 1) = 0 fileno(0x7f6db23d0760) = 1 __freading(0x7f6db23d0760, 0, 0x401ce0, 1) = 0 __freading(0x7f6db23d0760, 0, 2052, 1) = 0 fflush(0x7f6db23d0760) = 0 fclose(0x7f6db23d0760) = 0 __fpending(0x7f6db23d0680, 0, 0x7f6db23cb760, 2880) = 0 fileno(0x7f6db23d0680) = 2 __freading(0x7f6db23d0680, 0, 0x7f6db23cb760, 2880) = 0 __freading(0x7f6db23d0680, 0, 4, 2880) = 0 fflush(0x7f6db23d0680) = 0 fclose(0x7f6db23d0680) = 0 +++ exited (status 0) +++ buczek@theinternet:~/git/bee-files (add-ltrace)$
- Loading branch information