Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Date: Wed, 21 Aug 2019 00:48:10 +0400 (GST)
From: sahara <kpark3469@...il.com>
To: kernel-hardening@...ts.openwall.com
cc: keescook@...omium.org, re.emese@...il.com, keun-o.park@...kmatter.ae
Subject: Re: [PATCH] latent_entropy: make builtin_frame_address implicit

>> --- a/scripts/gcc-plugins/latent_entropy_plugin.c
>> +++ b/scripts/gcc-plugins/latent_entropy_plugin.c
>> @@ -446,6 +446,8 @@ static void init_local_entropy(basic_block bb, tree 
local_entropy)
>>      frame_addr = create_var(ptr_type_node, "local_entropy_frameaddr");
>>
>>      /* 2. local_entropy_frameaddr = __builtin_frame_address() */
>> +    if (!builtin_decl_implicit_p(BUILT_IN_FRAME_ADDRESS))
>> +            set_builtin_decl_implicit_p(BUILT_IN_FRAME_ADDRESS, true);
>
>Interesting! Is this aarch64-specific or something that has changed in
>more recent GCC versions?
>
>Thanks!
>
>-Kees
>

This is Android's aarch64-specific. Tested and reproduced in 8.1.
I haven't seen this problem with Linaro toolchains.

- Sahara

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.