[Gammaray-commits] [KDAB/GammaRay] f8f838: Add program execution introspection API

Volker Krause volker.krause at kdab.com
Fri Apr 21 16:14:00 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/KDAB/GammaRay
  Commit: f8f8382173a1d0ddd829b85d5295330111c38bb8
      https://github.com/KDAB/GammaRay/commit/f8f8382173a1d0ddd829b85d5295330111c38bb8
  Author: Volker Krause <volker.krause at kdab.com>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M core/CMakeLists.txt
    A core/execution.cpp
    A core/execution.h
    M tests/CMakeLists.txt
    A tests/executiontest.cpp

  Log Message:
  -----------
  Add program execution introspection API

So far this only supports checking for read only data section pointers,
longer term this is also where we should consolidate the various backtrace
implementations.


  Commit: 8842ce758dcdebf1c90ae107200d78eff4cc8f5e
      https://github.com/KDAB/GammaRay/commit/8842ce758dcdebf1c90ae107200d78eff4cc8f5e
  Author: Volker Krause <volker.krause at kdab.com>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M core/metaobjectregistry.cpp
    M core/metaobjectregistry.h

  Log Message:
  -----------
  Don't consider static meta objects without instances invalid

These can only become invalid by DLL unloading.


  Commit: baab659c55508842784ace29683f630c1416888b
      https://github.com/KDAB/GammaRay/commit/baab659c55508842784ace29683f630c1416888b
  Author: Volker Krause <volker.krause at kdab.com>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M CMakeLists.txt
    M common/CMakeLists.txt
    M core/CMakeLists.txt
    M launcher/core/CMakeLists.txt
    M probe/CMakeLists.txt
    M tests/CMakeLists.txt

  Log Message:
  -----------
  Clean up dl linking


  Commit: 3a636117cde9f57b8fb2b64ecb86ba2b92c05a53
      https://github.com/KDAB/GammaRay/commit/3a636117cde9f57b8fb2b64ecb86ba2b92c05a53
  Author: Volker Krause <volker.krause at kdab.com>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M core/metaobjectregistry.cpp
    M core/metaobjectregistry.h
    M core/tools/metaobjectbrowser/metaobjecttreemodel.cpp

  Log Message:
  -----------
  Support dynamic QMetaObjects as used by QML too

In order to do this, we need:
- lifetime tracking per QObject instance having such a meta object
- merging by name, as all instances have their own meta object

We do this by mapping to the "canonical meta object" (the first one we
ever saw), and by keeping a set of alive instance for this canonical meta
object.


  Commit: da0a91d5dd2f1cf9902782ce6f92b1227a50e85d
      https://github.com/KDAB/GammaRay/commit/da0a91d5dd2f1cf9902782ce6f92b1227a50e85d
  Author: Volker Krause <volker.krause at kdab.com>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M core/metaobjectregistry.cpp
    M core/metaobjectregistry.h
    M core/tools/metaobjectbrowser/metaobjectbrowser.cpp

  Log Message:
  -----------
  Implement selecting dynamic meta objects

This requires mapping to the canonical meta object first, so we can find
the corresponding entry in the model.


  Commit: 2ecefa4da40be0e7e8371326d066d5a2b01145e4
      https://github.com/KDAB/GammaRay/commit/2ecefa4da40be0e7e8371326d066d5a2b01145e4
  Author: Volker Krause <volker.krause at kdab.com>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M core/metaobjectregistry.cpp

  Log Message:
  -----------
  Reduce the amount of hash lookups a bit


  Commit: 1ffc5116170f291a12fa31a8f13121cf8b71c537
      https://github.com/KDAB/GammaRay/commit/1ffc5116170f291a12fa31a8f13121cf8b71c537
  Author: Volker Krause <volker.krause at kdab.com>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M core/qmetaobjectvalidator.cpp
    M tests/CMakeLists.txt

  Log Message:
  -----------
  Exclude dynamic meta objects from meta object validation

Meta objects with the "DynamicMetaObject" flag (which is not to be
confused with meta objects dynamically created at runtime) can modify
themselves to create e.g. properties on demand, we don't want to trigger
that.


Compare: https://github.com/KDAB/GammaRay/compare/cb48fc6c9a9b...1ffc5116170f


More information about the Gammaray-commits mailing list