diff options
| author | eroen | 2015-07-10 22:59:24 +0200 |
|---|---|---|
| committer | eroen | 2015-07-10 22:59:24 +0200 |
| commit | 1ff4e0626696cce79347cea1f8af03ff0df5c3fd (patch) | |
| tree | 434448c9801009a8365e67a3130571042468c3f2 /test2.c | |
| download | dynsymlink-1ff4e0626696cce79347cea1f8af03ff0df5c3fd.tar.gz dynsymlink-1ff4e0626696cce79347cea1f8af03ff0df5c3fd.tar.bz2 dynsymlink-1ff4e0626696cce79347cea1f8af03ff0df5c3fd.tar.xz | |
Simple LD_PRELOAD demo
Diffstat (limited to 'test2.c')
| -rw-r--r-- | test2.c | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -0,0 +1,13 @@ +/* + * test2 + * + * Non-cooperative, run with LD_PRELOAD=libdynsymlink.so + */ + +#include <stdio.h> + +int main() +{ + printf("This is test2\n"); + return 0; +} |
