Trying to debug strange issue

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

 



Hi,

I am trying to implement the ability to compile a string buffer rather
than a file. So I have created something similar to sparse_file() but
it takes a buffer instead.

First issue was that sparse assumes that the argv array has at least
one element. Otherwise there is a segmentation fault.

Secondly if the file list is empty then the sparse initialization step
doesn't occur - so I have disabled the check for empty file list for
this use case.

Anyway the issue is that the linearized instructions are coming out
with 0 size. I was wondering if there is a quick way to locate what is
going wrong.

The same C snippet when put into a file is handled fine.

Thanks and Regards

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