Skip to content

Add support for __no_randomize_layout #6

Closed
@connorkuehl

Description

@connorkuehl

Is your feature request related to a problem? Please describe.
One of our stretch goals requires this feature to allow application programmers to opt out of automatic structure selection.

Describe the solution you'd like
When Clang hands control to our plugin for a structure layout, we will immediately check to see if the structure has a __no_randomize_layout attribute attached to it. If so, we will not randomize this structure's layout. We will return false; and have Clang lay it out for us normally.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions