|
|
|
|
|
by imtringued
9 days ago
|
|
>This is in theory true, but almost all the machines for which pointers were not integers have died out. Yes and this went all the way to the point where even foreign device memory is now mapped into that address space. The address space is linear but its backing memory is not. Linear address spaces are perfectly logical on the machine level because it is just an arrangement of bits which is easy for silicon to process. The actual problem that we are hitting is that this linear address space is carved up into (possibly nested) bounded regions and you are not allowed to go outside the region for a given pointer. This is what CHERI, etc do, they add the region information back on the machine level which clears up the confusion. |
|