InvestorsHub Logo
Followers 0
Posts 297
Boards Moderated 0
Alias Born 04/26/2004

Re: sgolds post# 43076

Friday, 08/27/2004 12:50:06 PM

Friday, August 27, 2004 12:50:06 PM

Post# of 97827
NX doesn't mean that you can't run code from a buffer.

I'm surprised at you for saying this if you have any assembler experience.

NX can be applied where you want it. In the case of WinXP64 the stack is NX-protected (optionally you can use NX anywhere you want). Thus you can't just use the stack if you want to write executable code from your program. If you want to do that you will have to allocate some space elsewhere and mark it as Exec, Write explicitly. I'm sure a lot of programs do allocate a buffer explicitly and not just rely on the stack being available.

What's this nonsense about a reboot being needed if NX is violated. BS. That's not at all how it works. You just get a violation like any other badly behaved program trying to access memory illegally, it uses the same trap. You only get a reboot with megaport.sys because there is an unhandled exception in the driver routine at startup. That's a bug by Microsoft, pure and simple. If there was an NX exception in an application like Outlook Express there's no way a reboot is reqd or triggered.

I wish people here would read the freely available manuals on AMD64

Volume:
Day Range:
Bid:
Ask:
Last Trade Time:
Total Trades:
  • 1D
  • 1M
  • 3M
  • 6M
  • 1Y
  • 5Y
Recent AMD News