elf dynamic symboles obfuscation.

This commit is contained in:
Vahagn Khachatryan
2015-03-03 12:09:18 +04:00
parent fdf7d3b430
commit 21dffa8a83
4 changed files with 98 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
all: libshared_object.so executable.exe
libshared_object.so : shared_object.cpp interface.h
g++ -fPIC --shared -O2 $< -o $@
strip $@
executable.exe : executable.cpp interface.h libshared_object.so
g++ -O2 -lshared_object -L. $< -o $@
strip $@
run: all
LD_LIBRARY_PATH=. ./executable.exe