[lldb-dev] Several bug-fixes with the help of the static analyzer

Filipe Cabecinhas filcab at gmail.com
Thu Apr 26 09:46:22 PDT 2012


Hi all, 

Attached are some small patches to remove dead stores and some unused variables.
One also fixed two calls to strncat with the wrong arguments, which shouldn't result in a crash (the strings weren't that long), but was still wrong.

Regards,

  Filipe

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lldb-log.cpp-unused-var.patch
Type: application/octet-stream
Size: 977 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20120426/a8502a82/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lldb-use-strlcat.patch
Type: application/octet-stream
Size: 1015 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20120426/a8502a82/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MachTask.cpp-dead-store.patch
Type: application/octet-stream
Size: 581 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20120426/a8502a82/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Timer.cpp-dead-var.patch
Type: application/octet-stream
Size: 535 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20120426/a8502a82/attachment-0003.obj>


More information about the lldb-dev mailing list