-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathreadme.txt
More file actions
19 lines (15 loc) · 972 Bytes
/
readme.txt
File metadata and controls
19 lines (15 loc) · 972 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
inside wsl or ubuntu
cd into with-bonus
and use following commands
1) make
2) ./bin/launch ./test/sum
Contributions :
We worked on the project together from start to finish, discussing and building each part side by side.
while Somil handled the execution setup and termination, Anshika focused on the immediate memory loading mechanism.
Both of us contributed to reviewing and refining all components.
Github Link :
https://github.com/SomilGupta98/Smart_Loader
Detailing :
he top Makefile calls all sub-Makefiles. The smart loader opens the ELF, reads its headers, identifies PT_LOAD segments, installs a SIGSEGV handler, and jumps
directly to the ELF’s entry point (_start). When _start accesses unmapped memory, the handler loads the needed page from the ELF, fills missing parts, and sets
proper protections. It tracks page faults, allocations, and fragmentation effectively running the ELF by lazily loading PT_LOAD segments on demand.