Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 7 Apr 2013 19:33:48 +0400
From: Solar Designer <solar@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: Re: Fix for NT format (SSE builds, 32 bit)

On Sun, Apr 07, 2013 at 11:25:58AM -0400, jfoug@....net wrote:
> Now looking more, I am not sure we can move this mov.  popa junks all registers.

Exactly.

> The only way we could 'do' this, is to have eax hold count (the passed in arg) prior to the pusha.
> 
> Then simply do a popa; ret;  at the end of the function.

This is surely not the only way, but yes you can do it.

Alexander

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ