Information acquisition method, electronic device, storage medium, and program product
By loading the tracing tool configuration file into the application's memory and modifying the execution function, the problem of code modification and restart impact in existing technologies is solved, achieving flexible and efficient acquisition of runtime information.
Patent Information
- Application Number
- CN202510065188.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-15
- Publication Date
- 2026-07-17
AI Technical Summary
Existing technologies require code modification or the insertion of tracing tools when obtaining software program runtime information, which affects program structure and logic, and lacks flexibility, making it unable to adapt to applications that may or may not be restarted during operation.
By loading the tracing tool's configuration file into the target application's memory and modifying the program's execution function to match the configuration file's code execution function, function call information can be obtained, avoiding code modification and program restart.
It flexibly obtains runtime information without affecting the application structure and logic, and is applicable to both restartable and non-restartable applications, improving the flexibility and efficiency of tracing.
Smart Images

Figure CN122412249A_ABST
