Lecture 8 Page 1 CS 236 Online
Protecting Memory
- What is there to protect in memory?
- Page tables and virtual memory
protection
- Special security issues for memory
- Buffer overflows
Protecting Memory What is there to protect in memory? Page tables - - PowerPoint PPT Presentation
Protecting Memory What is there to protect in memory? Page tables and virtual memory protection Special security issues for memory Buffer overflows Lecture 8 Page 1 CS 236 Online What Is In Memory? Executable code
Lecture 8 Page 1 CS 236 Online
Lecture 8 Page 2 CS 236 Online
Lecture 8 Page 3 CS 236 Online
Lecture 8 Page 4 CS 236 Online
Lecture 8 Page 5 CS 236 Online
Lecture 8 Page 6 CS 236 Online
Any address Process A names goes through the green table Any address Process B names goes through the blue table They can’t even name each other’s pages
Lecture 8 Page 7 CS 236 Online
Lecture 8 Page 8 CS 236 Online
What happens now if Process A requests a page? Can Process A now read Process B’s deallocated data? Process B deallocates a page
Lecture 8 Page 9 CS 236 Online
Lecture 8 Page 10 CS 236 Online
Lecture 8 Page 11 CS 236 Online
Lecture 8 Page 12 CS 236 Online
Lecture 8 Page 13 CS 236 Online
Lecture 8 Page 14 CS 236 Online
Lecture 8 Page 15 CS 236 Online
Lecture 8 Page 16 CS 236 Online
Lecture 8 Page 17 CS 236 Online
Lecture 8 Page 18 CS 236 Online
Lecture 8 Page 19 CS 236 Online
Lecture 8 Page 20 CS 236 Online
Lecture 8 Page 21 CS 236 Online
Lecture 8 Page 22 CS 236 Online
Lecture 8 Page 23 CS 236 Online
Lecture 8 Page 24 CS 236 Online