[poppler] [PATCH] Clang++ plugin that checks GooString::format-like calls

Fabio D'Urso fabiodurso at hotmail.it
Sun Feb 16 15:26:44 PST 2014


Hi,

The clang plugin that checks for GooString::format usage errors is (finally!) 
ready. o/

It goes through each call to GooString::format, GooString::appendf or error, 
and it checks that the extra arguments match the format string.

In order to run it, you need to compile the plugin, set CXXFLAGS accordingly 
and compile poppler with clang++. It's explained in detail in the README file.

The 0002 patch fixes some minor issues spotted by the tool.

Fabio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Clang-plugin-that-checks-for-usage-errors-in-GooStri.patch
Type: text/x-patch
Size: 19706 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20140217/04ea46b7/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Some-error-usage-fixes.patch
Type: text/x-patch
Size: 7732 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20140217/04ea46b7/attachment-0003.bin>


More information about the poppler mailing list