Page cover

x86_64

Difference between x86 & x86_64

The first major difference is the size of memory address. No surprise here :) So memory addresses are 64 bits long, but user space only uses the first 47 bits; keep this in mind because if you specified an address greater than 0x00007fffffffffff, you'll raise an exception.

So that means that 0x4141414141414141 will raise exception, but the address 0x0000414141414141 is safe.

I think this is the tricky part while you're fuzzing or developing your exploit. In fact there are tons of others differences, but for the purpose of this, it’s not important to know all of them.

Last updated