Re: Missing cache considerations in randstruct performance feature

2023-10-08 Thread Kees Cook
On Sat, Oct 07, 2023 at 12:38:28PM +0200, Lukas Loidolt wrote: > On 07.10.23 06:12, Kees Cook wrote: > > On Sat, Oct 07, 2023 at 12:30:01AM +0200, Lukas Loidolt wrote: > > > In my tests, however, the performance version behaves more or less like > > > the > > > full version of randstruct. > > > >

Re: Missing cache considerations in randstruct performance feature

2023-10-07 Thread Lukas Loidolt
On 07.10.23 06:12, Kees Cook wrote: On Sat, Oct 07, 2023 at 12:30:01AM +0200, Lukas Loidolt wrote: In my tests, however, the performance version behaves more or less like the full version of randstruct. Can you try this patch? commit d73a3244700d3c945cedea7e1fb7042243c41e08 Author: Kees

Re: Missing cache considerations in randstruct performance feature

2023-10-06 Thread Kees Cook
On Sat, Oct 07, 2023 at 12:30:01AM +0200, Lukas Loidolt wrote: > In my tests, however, the performance version behaves more or less like the > full version of randstruct. Can you try this patch? commit d73a3244700d3c945cedea7e1fb7042243c41e08 Author: Kees Cook AuthorDate: Fri Oct 6 21:09:28

Re: Missing cache considerations in randstruct performance feature

2023-10-06 Thread Kees Cook
On Sat, Oct 07, 2023 at 12:30:01AM +0200, Lukas Loidolt wrote: > Hello! > > I have been looking into the implementation of the "randstruct" gcc-plugin > and noticed a potential bug in its performance version, which is supposed to > limit randomization to cache-line sized groupings of structure mem

Missing cache considerations in randstruct performance feature

2023-10-06 Thread Lukas Loidolt
Hello! I have been looking into the implementation of the "randstruct" gcc-plugin and noticed a potential bug in its performance version, which is supposed to limit randomization to cache-line sized groupings of structure members. I haven't been able to find too much documentation on this vers