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

Volker Krause volker.krause at kdab.com
Fri Apr 21 15:49:29 CEST 2017


  Branch: refs/heads/wip/dynamic-mo-support
  Home:   https://github.com/KDAB/GammaRay
  Commit: 71f08b1e79262c033f94c1a2239bc1313b1587f5
      https://github.com/KDAB/GammaRay/commit/71f08b1e79262c033f94c1a2239bc1313b1587f5
  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: a3e54527f8398a9f5522ef1244537fa87eb95f19
      https://github.com/KDAB/GammaRay/commit/a3e54527f8398a9f5522ef1244537fa87eb95f19
  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: edf581c677b64e4a79e59bb5b2e47acff03a4e57
      https://github.com/KDAB/GammaRay/commit/edf581c677b64e4a79e59bb5b2e47acff03a4e57
  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: b0ff0324010a05aaad56da7ea6d0289764ae62a7
      https://github.com/KDAB/GammaRay/commit/b0ff0324010a05aaad56da7ea6d0289764ae62a7
  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: 90d63589e5673b1e31d439bc7eec34052823835d
      https://github.com/KDAB/GammaRay/commit/90d63589e5673b1e31d439bc7eec34052823835d
  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: 06c92b29a1477155f6900c8113b584086e2d1e19
      https://github.com/KDAB/GammaRay/commit/06c92b29a1477155f6900c8113b584086e2d1e19
  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: dad4911f3dec2277cd372ea3bf0b0f6848ba2c12
      https://github.com/KDAB/GammaRay/commit/dad4911f3dec2277cd372ea3bf0b0f6848ba2c12
  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/84bf74acb8cb...dad4911f3dec


More information about the Gammaray-commits mailing list