clang-randstruct / llvm-project

Randomize the order of fields in a structure layout as a compile-time hardening feature
3 stars 1 forks source link

Port our randomization code into Clang and "wire it up" #10

Closed connorkuehl closed 5 years ago

connorkuehl commented 5 years ago

In this commit (4ff065bf33a8ac81d32898fe6d636ec92f0eae0c) we have a quick hacky test to see if we can get fields shuffled in the compiler.

We need to port our basic randomization and our performance sensitive randomization code.

Original code lives in this repository: https://github.com/connorkuehl/clang_randstruct