flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > Random Memory Address Segment System (RMASS) |
If I use RAMS in my OS (see diagrams), what method would be appropriate in your oppinion? | |||||||||||||||||||||
|
|||||||||||||||||||||
Total Votes : 7 |
Author |
|
f0dder 25 Apr 2007, 10:06
Imho not necessary, and could end up introducing too much overhead.
Address Space Randomization was added to avoid simple buffer overflow (and heap smashing, etc.) exploit code by not being able to rely on hardcoded addresses. Imho your segmentation idea (you might want to call it "sections" or "chunks" instead to avoid confusion with x86 segments) doesn't add much extra safety. Also, keep in mind that the randomization is done at the linear level, not the physical level... doesn't make sense to add randomization to physical ram level, if code has already gained ring0 access (which is necessary for tampering with linear->physical mappings), you're already screwed. |
|||
25 Apr 2007, 10:06 |
|
Adam Kachwalla 25 Apr 2007, 10:12
Ikesyay! I forgot about those x86 segments!
|
|||
25 Apr 2007, 10:12 |
|
hidden 25 Apr 2007, 18:44
Quote: It should not affect performance of the RAM, as the name stands for Random Access Memory. |
|||
25 Apr 2007, 18:44 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.