Thanks for porting the patch.
This is the mailing thread I started back in 2010 with that patch:
http://lists.gnu.org/archive/html/qemu-devel/2010-11/msg02497.html
That thread has some problems noted.
Sadly, I did not have enough free time to investigate all the other
places that should be fixed
Ok. Here is a full patch to QEMU 0.13.
Works with and without -singlestep.
Works with all fpu instructions.
Should also work with fsave.
** Patch added: "Bug fix. For version 0.13. This patch fixes the bug (for me)
completely."
https://bugs.launchpad.net/qemu/+bug/661696/+attachment/1744859
This was just an example of how it could be done.
$ ./qemu-0.12.5/i386-linux-user/qemu-i386 -singlestep ./test
80483b4 80483b4
--
incomplete emulation of fstenv under TCG
https://bugs.launchpad.net/bugs/661696
You received this bug notification because you are a member of qemu-
devel-ml, which i
Example patch.
Works only for FLDZ and only in -singlestep mode.
Based on version 0.12.5.
** Patch added: "Patch. Works only for FLDZ and only in -singlestep mode .
Based on 0.12.5."
https://bugs.launchpad.net/qemu/+bug/661696/+attachment/1738944/+files/patch.diff
--
incomplete emulation of
The full testcase:
#include
extern void *x;
int main() {
int a;
asm volatile ("x: fldz\n\
push %%edx\n\
fnstenv -0xc(%%esp)\n\
pop %%edx\n" : "=d" (a) : : "memory");
printf ("%x %x\n", a, &x);
return 0;
}
$ gcc -m32 test.c -o test
$ ./test
80483ae 80483ae
$ ./qemu/i386-linux
Any news on this bug?
--
incomplete emulation of fstenv under TCG
https://bugs.launchpad.net/bugs/661696
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
Status in QEMU: New
Bug description:
Steps to reproduce:
1) Install Windows (trie
** Attachment added: "36.png"
https://bugs.launchpad.net/qemu/+bug/661696/+attachment/1696341/+files/36.png
** Tags added: fpu windows
--
Ollydbg under Windows in qemu does not work as it does under native Windows.
https://bugs.launchpad.net/bugs/661696
You received this bug notification bec
** Attachment added: "The test file."
https://bugs.launchpad.net/bugs/661696/+attachment/1696332/+files/cmd_exec_notepad.shikata_ga_nai.exe
--
Ollydbg under Windows in qemu does not work as it does under native Windows.
https://bugs.launchpad.net/bugs/661696
You received this bug notificatio
http://imagebin.ca/view/zue0YNZ.html - This is VMware screenshot just
before executing that command.
Looks like something is wrong with EDX register in OllyDbg under QEMU.
That register was popped as a result of FSTENV command.
--
Ollydbg under Windows in qemu does not work as it does under nati
Public bug reported:
Steps to reproduce:
1) Install Windows (tried XP and 7) in qemu (tried qemu without kvm and
qemu-kvm).
2) Get OllyDbg ( http://ollydbg.de/odbg200.zip ).
3) Use some Metasploit-encoded file, example included.
It is not a virus!
File was generated with Metasploit, command (
10 matches
Mail list logo