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)
Thu, May 9, 4:14 PM
Unknown Object (File)
Sun, Apr 14, 10:51 PM
Unknown Object (File)
Sun, Apr 14, 10:23 PM
Unknown Object (File)
Apr 9 2024, 8:51 PM
Unknown Object (File)
Apr 7 2024, 1:51 PM
Unknown Object (File)
Apr 6 2024, 8:35 AM
Unknown Object (File)
Feb 22 2024, 8:41 AM
Unknown Object (File)
Feb 18 2024, 11:51 PM
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.