-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
Jason Nguyen edited this page May 13, 2019
·
2 revisions
You need a single dynamic library named libfinal.so
. You might have been instructed to create two shared library files à la liblist.so
and libcal.so
in earlier renditions of the assignment. If you have not already combined these two libraries into one with the advent of A3, do so now and call the resultant library libfinal.so
.
- Place
libfinal.so
into thelib
folder. - Run the
Makefile
to run the respective harness as follows:-
make run1
— A1harness—thecreateCalendar()
parsing test -
make run2
— A2m1harness—thecreateCalendar()
+writeCalendar()
filewriting test -
make run3
— A2m2harness—thevalidateCalendar()
object validation test -
make run4
— A2m2harnessv—thevalidateCalendar()
error collision vulnerability test -
make clean
— removes all object files and executable files created during building of the harness
-
You may add v
at the end of any of the make run
commands in order to run the respective test with valgrind --show-leak-kinds=all --leak-check=full --track-origins=yes
. Example: make run3v