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)
Sun, Dec 8, 1:18 AM
Unknown Object (File)
Thu, Dec 5, 4:44 PM
Unknown Object (File)
Fri, Nov 29, 8:27 PM
Unknown Object (File)
Oct 28 2024, 8:56 PM
Unknown Object (File)
Oct 28 2024, 6:16 PM
Unknown Object (File)
Oct 9 2024, 2:12 AM
Unknown Object (File)
Sep 22 2024, 3:52 AM
Unknown Object (File)
Sep 12 2024, 7:28 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.