no offset access after 2^32 - 3
Posted: Fri Oct 03, 2003 7:00 pm
Hey,
I was testing out my gdt to make sure everything is alright. I did this after I loaded gdt and segment registers:
But bochs triple faulted with:
0xfffffffc which is 2^32 - 3. This seems to be the maximum value of the offset I can use. Whats going on ??
I was testing out my gdt to make sure everything is alright. I did this after I loaded gdt and segment registers:
Code: Select all
xor dword eax,[es:0xffffffff]
However, this works FINE:read_virtual_checks(): write beyond limit
Code: Select all
xor dword eax,[es:0xfffffffc]