| 70 | } |
| 71 | |
| 72 | static QString resolvePointerTarget(const NodeTree& tree, uint64_t refId) { |
| 73 | if (refId == 0) return {}; |
| 74 | int refIdx = tree.indexOfId(refId); |
| 75 | if (refIdx < 0) return {}; |
| 76 | const Node& ref = tree.nodes[refIdx]; |
| 77 | return ref.structTypeName.isEmpty() ? ref.name : ref.structTypeName; |
| 78 | } |
| 79 | |
| 80 | static inline uint64_t ptrToProviderAddr(const NodeTree& tree, uint64_t ptr) { |
| 81 | if (tree.baseAddress == 0) return ptr; |
no test coverage detected