User: Password:
|
|
Subscribe / Log in / New account

Non-pessimal patching is possible

Non-pessimal patching is possible

Posted Oct 23, 2008 15:35 UTC (Thu) by Trou.fr (subscriber, #26289)
In reply to: Non-pessimal patching is possible by jreiser
Parent article: The source of the e1000e corruption bug

Actually, those instructions wouldn't be really noops :
- they would take time to be executed
- they update the flags

Such instructions wouldn't be accepted as nop replacements (at least I wouldn't)


(Log in to post comments)

Non-pessimal patching is possible

Posted Oct 23, 2008 17:59 UTC (Thu) by jimparis (subscriber, #38647) [Link]

Updating flags would be fine, because the compiler has already assumed that the flags would get messed up by the original function call.


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds