|
From: Nicholas N. <nj...@ca...> - 2004-08-03 22:04:53
|
On Tue, 3 Aug 2004, Jeff Dike wrote: >> + pushl %eax >> + movl VG_(m_state_static)+60, %eax >> + movl %eax, save_ip >> + popl %eax m_state_static doesn't exist anymore. You could try getting the simulated %eip out of the 'baseBlock' -- it starts at VG_(baseBlock), and %eip is VGOFF_(m_eip) *words* into it, ie. 4*VGOFF_(m_eax) bytes into it. I'm not certain that the simulated %eip is up-to-date exactly as necessary, but it could be. The rest of the patch would work the same way. > Also, I saw this: > >> valgrind: the `impossible' happened: >> Unhandled REPE case > > If you see this, check that you have > http://www.goop.org/~jeremy/valgrind/76-repe-scas.patch > and apply if not. That should be fixed in all recent versions of Valgrind. HTH N |