Dynamic linker tricks: Using LD_PRELOAD to cheat, inject features and investigate programs | Rafał Cieślak's blog


23 bookmarks. First posted by mpm september 2015.


LD_PRELOAD=$PWD/unrandom.so ./random_nums
linking  preload  c  linux 
11 days ago by tebeka
This post assumes some basic C skills. Linux puts you in full control. This is not always seen from everyone's perspective, but a power user loves to be in control. I'm going to show you a basic trick that lets you heavily influence the behavior of most applications, which is not only fun, but also,…
linux  c 
12 days ago by geetarista
Now let’s pretend we don’t really have the source of this executable. Either delete the source file, or move it somewhere – we won’t need it. We will significantly modify this programs behavior, yet without touching it’s source code nor recompiling it.
programming  linux  c 
12 days ago by tihoutrom
Dynamic linker tricks: Using LD_PRELOAD to cheat, inject features and investigate programs
programming  from twitter_favs
12 days ago by blackthorne
This post assumes some basic C skills. Linux puts you in full control. This is not always seen from everyone's perspective, but a power user loves to be in control. I'm going to show you a basic trick that lets you heavily influence the behavior of most applications, which is not only fun, but also,…
linux 
12 days ago by nfultz
Linux puts you in full control. This is not always seen from everyone’s perspective, but a power user loves to be in control. I’m going to show you a basic trick that lets you heavily influence the behavior of most applications, which is not only fun, but also, at times, useful.
LD_PRELOAD  C  Programming 
april 2017 by GameGamer43
Using LD_PRELOAD to cheat, inject features and investigate programs
linux  c 
april 2017 by callthepolice
interesting trick/hack using library loading override in linux. potentially useful for debugging etc.
linux  debugging 
may 2016 by jd
This post assumes some basic C skills. Linux puts you in full control. This is not always seen from everyone's perspective, but a power user loves to be in control. I'm going to show you a basic trick that lets you heavily influence the behavior of most applications, which is not only fun, but also,…
opetus  kj 
may 2016 by jyke
I’m going to show you a basic trick that lets you heavily influence the behavior of most applications, which is not only fun, but also, at times, useful.
linux 
september 2015 by mpm