Re: Re: About -fasan-shadow-offset option

2022-11-25 Thread tao.z...@amlogic.com
, Shanghai, China 公司地址:上海市浦东新区秀浦路2555号漕河泾康桥商务绿洲E5栋 发件人: Martin Liška 发送时间: 2022-11-26 00:23 收件人: tao.z...@amlogic.com; gcc 抄送: Jakub Jelinek 主题: Re: About -fasan-shadow-offset option [ EXTERNAL EMAIL ] On 11/16/22 10:01, tao.z...@amlogic.com wrote: > Dear gcc: > Hello. Based on

Re: About -fasan-shadow-offset option

2022-11-25 Thread Martin Liška
On 11/16/22 10:01, tao.z...@amlogic.com wrote: > Dear gcc: > Hello. Based on quick discussion with Jakub, we believe fasan-shadow-symbol= would be a non-trivial amount of work and we rather suggest doing a per-system build with investigated -fasan-shadow-offset. Cheers, Martin > I am

About -fasan-shadow-offset option

2022-11-16 Thread tao.z...@amlogic.com
Dear gcc: I am developing a address sanitiser tools for u-boot. Basically refers compile options from kernel side. But there is a problem that I must set -fasan-shadow-offset with a pre-calculated value. Otherwise GCC compiler will use 0x10 as default value for shadow offset and cau