Re: Sparse parsing question: symbols in parse tree

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

 



On Sun, Aug 20, 2017 at 2:51 PM, Dibyendu Majumdar
<mobile@xxxxxxxxxxxxxxx> wrote:
>
> Whenever an EXPR_SYMBOL is encountered does this actually equate to
> the address of the symbol?

Yes, it should.

Note that not all EXPR_SYMBOL are really symbols in the C sense. As
mentioned in another thread, you can also have anonymous symbols -
they act kind of like a named variable, just without the name.

The most common case of an anonymous symbol is a constant string, but
we do the general case of "cast followed by an initializer" as an
anonymous symbol of any type.

              Linus
--
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