|
From: | Fabrice Bellard |
Subject: | Re: [Qemu-devel] qemu allows code execution on the stack, even if the quest operating system makes the stack nonexecutable |
Date: | Tue, 12 Oct 2004 19:58:32 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803 |
QEMU will someday implement PAE and NX bits - it is the most efficient way to handle this.
Fabrice. joro 42 wrote:
tested openwall linux and openbsd 3.5 under qemu. both of them claim to make the stack non executable when on real x86. but under qemu, code on the stack seems executed on owl and obsd3.5. try the following program: =========== void main() { char trap[]="\xcc"; // "\xeb\xfe" for loop void (*f)(); f=trap; f(); } =========== it executes code instead of SEGV on openwall/openbsd. /j
[Prev in Thread] | Current Thread | [Next in Thread] |