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)
Mon, Oct 28, 8:56 PM
Unknown Object (File)
Mon, Oct 28, 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
Unknown Object (File)
Sep 8 2024, 1:38 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.