This code is made by Saurav Haldar(2022464) and Satwik Garg(2022461).
Bonus is part is done by Satwik Garg (2022461) and Saurav Haldar (2022464).
Github Link - https://github.com/satwikgarg2022461/OS_assignment4_simple_smart_Loader.git
- Loader first catches the fragmentation error by using signal.
- Loader first allocate memory of size 4 KB(4096 byte) irrespective the size of fragmented segment.
- Then copy that segment by using memcopy.
- This process continues until no fragmentation occur.
- Open terminal
- Move to Group42 folder
- Type command "make"
- Type command "export LD_LIBRARY_PATH=./bin:$LD_LIBRARY_PATH"
- Type command "./launch ../test/fib"