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
F103817981: D10047.diff
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
Unknown Object (File)
Sep 11 2024, 4:58 PM
Unknown Object (File)
Sep 8 2024, 1:55 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.