News for hackers. Stuff that matters.
Re:Smuggling Data in Pointers by nitrogen on Monday November 14, 2011 @06:17AM (#3233613)
It's probably not a good idea to rely on this. Though x86-64 is (currently?) limited to a 48-bit virtual address space, it's designed so that the upper 17 bits must be all 0 or all 1, and those bits may be used in the future.

https://secure.wikimedia.org/wikipedia/en/wiki/X86-64#Virtua...

Re:Smuggling Data in Pointers by rvkennedy on Monday November 14, 2011 @06:54AM (#3233675)
A good idea? I think it's nuts! I strongly recommend that nobody ever do this.
Re:Smuggling Data in Pointers by vidarh on Monday November 14, 2011 @07:50AM (#3233772)
It'd be ok to do for a JIT, assuming the JIT knows the systems it targets can deal with it and/or has a fallback strategy for systems that don't.

But yes, not for ahead of time compiled code...