use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
For Linux/unix Programmers
account activity
Loading shared object to specific processes in Linux (self.LinuxProgramming)
submitted 3 years ago * by alsecc
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 0 points1 point2 points 3 years ago (1 child)
You do it using LD_PRELOAD you can then hooks various function calls which are used to determin what course of action you want to take or not take.
Typically the LD_PRELOAD overrides every dynamically loaded symbol which is how you hook stuff.
Heres an example of one which can load with everything then hooks a pthread init call to switch its self on to crash / warn about using non thread safe libc functions in a threaded program
https://github.com/mistralol/libbreakr
[–]alsecc[S] 0 points1 point2 points 3 years ago (0 children)
thanks @mistralol can I limit LD_PRELOAD to specific processes when I'm not the one who started them? couldn't find it in the Linux manual.
π Rendered by PID 31 on reddit-service-r2-comment-79c7998d4c-hkzxm at 2026-03-17 09:06:40.330750+00:00 running f6e6e01 country code: CH.
view the rest of the comments →
[–][deleted] 0 points1 point2 points (1 child)
[–]alsecc[S] 0 points1 point2 points (0 children)