[Lldb-commits] [PATCH] D80150: [lldb/DataFormatter] Check for overflow when finding NSDate epoch

Vedant Kumar via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon May 18 12:27:07 PDT 2020


vsk created this revision.
vsk added reviewers: JDevlieghere, mib, teemperor.
Herald added a subscriber: mgorny.
Herald added a project: LLDB.

Fixes UBSan-reported issues where the date value inside of an
uninitialized NSDate overflows the 64-bit epoch.

rdar://61774575


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D80150

Files:
  lldb/include/lldb/DataFormatters/Mock.h
  lldb/source/Plugins/Language/ObjC/Cocoa.cpp
  lldb/unittests/DataFormatter/CMakeLists.txt
  lldb/unittests/DataFormatter/MockTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80150.264695.patch
Type: text/x-patch
Size: 7275 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200518/67bf7c2f/attachment.bin>


More information about the lldb-commits mailing list