[libdispatch-dev] Static Analysis for leaks with dispatch_objects

Daniel A. Steffen dsteffen at apple.com
Tue Oct 25 14:17:07 PDT 2011


Hi Mike,

we are definitely very aware of this need, but I can't comment on future plans to address it.

Please feel free to file a bug on bugreporter.apple.com asking for analyzer support for dispatch objects.

Daniel

On Oct 25, 2011, at 10:24, Mike Lewis wrote:

> Hi,
> 
> I was wondering if there were any plans on adding something to the equivalent of the annotations __attribute__((cf_returns_retained)) to GDC function calls for dispatch objects.  Since they're not CFTypes I realize support to clang's static analyzer need to be added.  After using a lot of the new dispatch_io calls and having manage dispatch_data_t objects, it seems like there is a much larger use case for analysis support.
> 
> Thanks,
> Mike
> 
> --
> Michael Lewis
> lolrus.org
> mikelikespie at gmail.com
> _______________________________________________
> libdispatch-dev mailing list
> libdispatch-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/libdispatch-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/libdispatch-dev/attachments/20111025/e5722136/attachment.html>


More information about the libdispatch-dev mailing list