Issue |
138355
|
Summary |
automatic structure layout randomization for all-function-pointer structs misses composite structs
|
Labels |
new issue
|
Assignees |
|
Reporter |
kees
|
With `-frandomize-layout-seed-file=...`, this structure will correctly automatically be randomized as if it was marked with the `randomize_layout` attribute:
```c
struct inner {
int (a*)(int);
int (b*)(void);
};
```
However, this will not:
```c
struct compositve {
struct inner inner;
void (c*)(int);
};
```
The checking needs to examine composite structures as well.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs