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 는 다른 shared library보다 먼저 loading하도록 지정하는 것이므로 legacy app이 사용하는 표준 함수들을 대체하고 자 하는 경우에 이용 가능

VPP 프로젝트에서 VPP TCP host stack을 사용하는 경우 다른 앱들에게 VPP Common Library(VCL)을 강제하는 경우에 사용 가능한 방법
c  programming  linux 
december 2017 by cychong47
LD_PRELOAD=$PWD/unrandom.so ./random_nums
linking  preload  c  linux 
december 2017 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 
december 2017 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 
december 2017 by tihoutrom
Dynamic linker tricks: Using LD_PRELOAD to cheat, inject features and investigate programs
programming  from twitter_favs
december 2017 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 
december 2017 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