Diagnostic Tracing Identifies Suspicious Pointer Values

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Diagnostic tracing of executing applications faces challenges in identifying erroneous values at memory addresses, which are crucial for debugging and performance analysis, as existing methods lack efficient mechanisms to track changes and highlight suspicious pointers in trace data.

Innovation Solution

The solution involves a method that uses delta core data to identify changes in memory content over time, allowing for the determination of erroneous values and highlighting suspicious pointers in trace entries, by comparing actual values against declared data types and ranges, and utilizing delta core data to track changes in memory content.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If traditional diagnostic tracing methods are used to identify erroneous values in memory, then comprehensive memory analysis can be performed, but the process is time-consuming and inefficient

Engineering Contradiction:
Improvedebugging efficiencyVSAvoidtime to identify erroneous values
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The system performs preliminary actions by capturing base core data and generating delta core data at predetermined trace points during application execution. This allows the diagnostic system to have memory snapshots ready in advance, enabling rapid comparison and identification of erroneous values without time-consuming analysis when problems occur.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system creates copies of memory data at different points in time (base core data and delta core data). By comparing these copied data sets, the system can efficiently identify changes and erroneous values without analyzing the entire memory space from scratch, significantly improving debugging efficiency.

Inventive Principle:
Principle #26Copying

2Measurement precision

If delta core data is used to track memory changes efficiently, then suspicious pointers can be identified faster, but the complexity of data processing increases

Engineering Contradiction:
Improveaccuracy in identifying erroneous valuesVSAvoidcomplexity of trace data processing
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The diagnostic process is segmented into distinct phases: capturing base core data at trace points, generating delta core data to represent changes, and comparing these data sets to identify erroneous values. This segmentation allows each component to be optimized independently, improving measurement precision while managing processing complexity through modular organization.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS10423474B2Performing diagnostic tracing of an executing application to identify suspicious pointer values
Publication Date: 2019.09.24 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US10423474B2 patent drawing
  • US10423474B2 patent drawing
  • US10423474B2 patent drawing

AI summary

Arrangements described herein relate to performing diagnostic tracing of an executing application. A trace entry in trace data can be identified, the trace entry comprising a pointer that refers to a memory address. Whether a value that is, or has been, stored at the memory address is an erroneous value can be determined. Responsive to determining that the value that is, or has been, stored at the memory address is an erroneous value, the pointer can be indicated as being a suspicious value.