Skip to content

modify the xv6 kernel to support null pointers and relocate the user stack to the bottom of the address space

Notifications You must be signed in to change notification settings

shreyaakamath/Xv6-StackRelocation-ExceptionHandling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Author names: Shreya Kamath,Mushahid Alam

CS login : shreyakamath,mushahid

description:
*added an invalid page for page 0 -> this causes  null pointer deference to cause a segfault 

*stack is at the end of the user space -> user can grow stack by allocating more than 4096 bytes. stack grows one page at a time 

*added a guard page between stack and heap -> heap will not overwrite stack , stack will not overwrite heap


About

modify the xv6 kernel to support null pointers and relocate the user stack to the bottom of the address space

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published