[all-commits] [llvm/llvm-project] 9ed741: [lldb] Try harder to find the __NSCFBoolean addresses

fredriss via All-commits all-commits at lists.llvm.org
Fri Aug 6 13:04:48 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ed7416aaf257b13079b48f856df9b45d783fab2
      https://github.com/llvm/llvm-project/commit/9ed7416aaf257b13079b48f856df9b45d783fab2
  Author: Fred Riss <friss at apple.com>
  Date:   2021-08-06 (Fri, 06 Aug 2021)

  Changed paths:
    M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp

  Log Message:
  -----------
  [lldb] Try harder to find the __NSCFBoolean addresses

It looks like recent CoreFoundation builds strip the non-public symbol
that we were looking for to find the 2 boolean "classes". The public
symbol is of course there, and it contains the address of the private
one. If we don't find the private symbol directly, go through a memory
read at the public symbol's location instead.




More information about the All-commits mailing list