Re: [PATCH 1/2] randstruct: fix a bug in is_pure_ops_struct()

2019-07-31 Thread Kees Cook
On Thu, Aug 01, 2019 at 03:01:10AM +0900, Joonwon Kang wrote: > Before this, there were false negatives in the case where a struct > contains other structs which contain only function pointers because > of unreachable code in is_pure_ops_struct(). > > Signed-off-by: Joonwon Kang I've applied thi

[PATCH 1/2] randstruct: fix a bug in is_pure_ops_struct()

2019-07-31 Thread Joonwon Kang
Before this, there were false negatives in the case where a struct contains other structs which contain only function pointers because of unreachable code in is_pure_ops_struct(). Signed-off-by: Joonwon Kang --- scripts/gcc-plugins/randomize_layout_plugin.c | 10 +- 1 file changed, 5 ins