Page MenuHomeFreeBSD

fill x86 padding with INT3 instead of NOP
ClosedPublic

Authored by emaste on Mar 18 2017, 6:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 1, 12:36 PM
Unknown Object (File)
Mon, Sep 29, 3:56 PM
Unknown Object (File)
Mon, Sep 29, 12:05 PM
Unknown Object (File)
Sat, Sep 27, 2:35 PM
Unknown Object (File)
Sat, Sep 27, 10:24 AM
Unknown Object (File)
Fri, Sep 26, 5:21 PM
Unknown Object (File)
Sun, Sep 21, 9:28 AM
Unknown Object (File)
Aug 14 2025, 9:35 AM
Subscribers
None

Details

Summary

We should never end up executing the inter-function padding, so we're better off faulting than silently carrying on to whatever function happens to be next.

LLD will do this by default (although it currently pads with zeros).

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Yes, that seems like a good idea to me.

This revision is now accepted and ready to land.Mar 18 2017, 8:17 PM
This revision was automatically updated to reflect the committed changes.