Re: [PATCH] fix accesses through incorrect union members

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 23, 2018 at 11:06 PM, Luc Van Oostenryck
<luc.vanoostenryck@xxxxxxxxx> wrote:
> On Fri, Feb 23, 2018 at 10:55:13PM +0100, Jann Horn wrote:
>> No functional change - ->src1 and ->phi_src are at the same offset and have
>> the same type.
>> Discovered and debugged by compiling with "-Dunion=struct" in CFLAGS, which
>> I originally did because I wanted to easily see in GDB which union fields
>> I'm supposed to be accessing.
>
> There is some doc helping a bit about this on my tree:
>         https://github.com/lucvoo/sparse/blob/master/Documentation/IR.md

Ah, thanks. That looks helpful.
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux