Skip to main content

Questions tagged [ltrace]

1 vote
1 answer
947 views

I'm looking for some clarity in terms of the system calls. I tried avoiding the vDSO by calling a system call clock_gettime directly. Here is a snippet of a program named sys_clock_gettime. int clock =...
Xavier Merino's user avatar
0 votes
1 answer
1k views

I'm trying to understand how ltrace command works. So I've been poking around in /etc/nsswitch.conf. I have a "hosts: resolve" line in there - it tells glibc to dynamically load nss-resolve ...
blaz's user avatar
  • 31
3 votes
1 answer
1k views

Consider this program: #include <stdio.h> #include <sys/epoll.h> int main(void) { int epfd = epoll_create1(0); struct epoll_event event; event.events = EPOLLIN; ...
Joseph Sible-Reinstate Monica's user avatar
0 votes
1 answer
586 views

I'm trying to capture output of ltrace command using C program. I have tried using popen() but that's not working, I need to capture continuously output not only once. Below is my code: #include &...
Yougeshwar Khatri's user avatar
3 votes
1 answer
2k views

I have a modern Linux desktop with lots of processes running concurrently. One of those processes, and I don't know which one, calls a function some_func from a popular dynamic library some_lib (think ...
undercat's user avatar
  • 1,897
5 votes
2 answers
4k views

I'm conjecturing SQL Server on Linux is checking /proc/self/status for TracerPID and then dying if it's not 0. I want to test that. Playing around, here is the strace, ... lots of stuff openat(...
Evan Carroll's user avatar
  • 35.2k
2 votes
0 answers
1k views

I want to be able to know what are the symbols that are used from a certain shared library at runtime. I use gdb and I set the solib-search-path to the user defined shared library. I am not sure if ...
Bionix1441's user avatar
9 votes
2 answers
5k views

I know about strace and ltrace, but that only tells me what system calls and library calls a process is executing, respectively. I would like to know exactly what instructions a process is executing. ...
cat pants's user avatar
  • 167

15 30 50 per page