3 ms·
This is very nice and interesting. Does that also work for lldb? Would sth like this also be possible with dtrace? Can you recommend any good resources to lear
by albertzeyer 7y ago
This is very nice and interesting. Does that also work for lldb? Would sth like this also be possible with dtrace?
Can you recommend any good resources to learn more about this? Should I just study the LLDB/GDB references? Or maybe if you think there are not much good resources on this, maybe it would be a good idea if you could write a blog post about this?
- saagarjha 7y ago> Does that also work for lldb? LLDB doesn't appear to have a way to set a breakpoint at syscalls, unfortunately. If it's dynamically linked, however, it will probably go through your platform's libc so you can probably achieve the same effect by breaking on all of the syscall wrapper functions.
- avemilia 7y agoI am also interested in this. So far this video [0] from CPPCon'18 is the most complete and fresh I managed to find. Other than that, GDB manual is okay (LLDB's is not complete, as seems to be the case with most LLVM-based tools). [0] <https://youtu.be/V1t6faOKjuQ> https://youtu.be/V1t6faOKjuQ>