Compares the allocator state of the testing program to the allocator state of your program.
- Put compare_states.py file into your lab1-src directory
wget https://raw.githubusercontent.com/elnardu/cs252/master/lab1-tools/compare_states.py
pip3 install wheel frida-toolspython3 compare_states.py test_name- Please use
-s n/--skip noption for large testcases (test_simple5, test_simple6)- that will skip processing of the first n malloc/free calls
- Comment out all your printfs
- Please use
Recommended -s values for test_simple5:
- 0
- Covers initial state
- Wait till it finishes 50-100 states
- 9999
- Covers everything else
- Usually where your problems are
