Skip to content
Snippets Groups Projects
Commit 5ddc7192 authored by jdh8d's avatar jdh8d
Browse files

added some more dynamic linking examples from /bin and /usr/bin. turned of...

added some more dynamic linking examples from /bin and /usr/bin.  turned of ISR-XOR as its frequently a problem for dynamically linked programs.
parent 11c88694
No related branches found
No related tags found
No related merge requests found
Showing
with 34 additions and 6 deletions
......@@ -43,16 +43,28 @@ demos/demo.jan_21_2011/ps_demo.sh -text
demos/demo.jan_21_2011/run_gdb.sh -text
demos/demo.jan_21_2011/test_infinite.sh -text
dyna_examples/Makefile -text
dyna_examples/awk.stock -text
dyna_examples/block_copy.c -text
dyna_examples/bzip2.stock -text
dyna_examples/cal.stock -text
dyna_examples/cat.stock -text
dyna_examples/clear.stock -text
dyna_examples/cmd_args_005.c -text
dyna_examples/concolic_test_handshake.c -text
dyna_examples/data.txt -text
dyna_examples/date.stock -text
dyna_examples/df.stock -text
dyna_examples/diff.stock -text
dyna_examples/du.stock -text
dyna_examples/dumbledore_cmd.c -text
dyna_examples/dumbledore_file.c -text
dyna_examples/dumbledore_file_with_fopen_check.c -text
dyna_examples/dumbledore_stdin.c -text
dyna_examples/expr.stock -text
dyna_examples/find.stock -text
dyna_examples/fptest.c -text
dyna_examples/globalfield.c -text
dyna_examples/grep.stock -text
dyna_examples/hanoi.c -text
dyna_examples/hanoi_heap_overrun.c -text
dyna_examples/hanoi_nostrata.c -text
......@@ -61,11 +73,22 @@ dyna_examples/hanoi_overrun_tainted.c -text
dyna_examples/hanoi_overrun_taintedenv.c -text
dyna_examples/hanoi_stack_overrun.c -text
dyna_examples/hello.c -text
dyna_examples/hostname.stock -text
dyna_examples/ipcs.stock -text
dyna_examples/less.stock -text
dyna_examples/ls.stock -text
dyna_examples/malloc.c -text
dyna_examples/memcpy.c -text
dyna_examples/myhanoi.c -text
dyna_examples/nasm.stock -text
dyna_examples/objdump.stock -text
dyna_examples/print_ptr.c -text
dyna_examples/ps.stock -text
dyna_examples/recover_example.c -text
dyna_examples/sdiff.stock -text
dyna_examples/wc.stock -text
dyna_examples/whoami.stock -text
dyna_examples/xeyes.stock -text
examples/Makefile -text
examples/block_copy.c -text
examples/cmd_args_005.c -text
......
......@@ -6,29 +6,32 @@ CC=gcc
CXX=g++
CFLAGS=-O2
.SUFFIXES: .o .c .cpp .exe
.SUFFIXES: .o .c .cpp .exe .stock .protected
exes=hanoi.exe hanoi_overrun.exe hanoi_heap_overrun.exe hanoi_stack_overrun.exe print_ptr.exe malloc.exe block_copy.exe hello.exe hanoi_overrun_tainted.exe hanoi_overrun_taintedenv.exe memcpy.exe cmd_args_005.exe dumbledore_stdin.exe dumbledore_cmd.exe dumbledore_file.exe
protected_exes=awk.protected bzip2.protected cal.protected cat.protected clear.protected date.protected df.protected diff.protected du.protected expr.protected find.protected grep.protected hostname.protected ipcs.protected less.protected ls.protected nasm.protected objdump.protected ps.protected sdiff.protected wc.protected whoami.protected xeyes.protected
all: env_check ${exes}
all: env_check ${exes} ${protected_exes}
.PHONY: env_check
.stock.protected: .PHONY
${PEASOUP_HOME}/tools/ps_analyze.sh $< $@
.o.exe:
.o.exe: .PHONY
$(CC) $< -o $@
${PEASOUP_HOME}/tools/ps_analyze.sh $@ $@
.c.o:
.c.o: .PHONY
${CC} $< -c
.cpp.o:
.cpp.o: .PHONY
${CXX} $<
chopzero:
chopzero: .PHONY
@ if [ ! -f chopzero ]; then gcc chopzero.c -o chopzero -O3 ; fi
$(exes): ${STRATA}/lib/x86_linux/libstrata.a
......@@ -62,8 +65,10 @@ clean:
rm -Rf peasoup_executable_directory.*
rm -f strata.log.*
rm -f *.sym
rm -f *.protected
if [ ! "X" = "X"${PGUSER} ]; then sh ../tools/db/drop_my_tables.sh; sh ../tools/db/pdb_setup.sh; fi
concclean:
rm -Rf concolic.files_*
rm strata.log.*
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment