Memory check method, memory check device, and memory check system
AssigneePhison Electronics Corp.
InventorChien Chang Tseng
Life of this patent
Estimating the term…
Abstract
A memory check method, a memory check device and a memory check system are disclosed. The method includes the following. A debug file is generated according to a source code, where the debug file carries symbol information related to a description message in the source code. Memory data generated by a memory storage device in execution of a firmware is received. The debug file is loaded to automatically analyze the memory data. In addition, an analysis result is presented by an application program interface, where the analysis result reflects a status of the firmware with assistance of the symbol information.
Claims18
A memory check method adapted to check a firmware in a memory storage device, wherein the memory check method comprises:
- generating a debug file according to a source code, wherein the debug file carries symbol information related to a description message in the source code, wherein the description message is configured to describe a declaration, a definition, or a function of at least a part of codes in the source code;
- receiving a memory data generated by the memory storage device in execution of the firmware;
- loading the debug file to automatically analyze the memory data;
- and
- presenting an analysis result by an application program interface, wherein the analysis result reflects a status of the firmware with assistance of the symbol information,
- wherein the status of the firmware includes an anomaly in the firmware,
- wherein generating the debug file according to the source code comprises:
- processing the source code by a compiler to generate the debug file, wherein the symbol information is not presented in machine language or assembly language.
A memory check device adapted to check a firmware in a memory storage device, wherein the memory check device comprises:
- a storage circuit configured to store a source code and a debug file;
- and
- a processor coupled to the storage circuit,
- wherein the processor is configured to generate the debug file according to the source code, and the debug file carries symbol information related to a description message in the source code, wherein the description message is configured to describe a declaration, a definition, or a function of at least a part of codes in the source code,
- the processor is further configured to receive a memory data generated by the memory storage device in execution of the firmware,
- the processor is further configured to load the debug file to automatically analyze the memory data, and
- the processor is further configured to present an analysis result by an application program interface, wherein the analysis result reflects a status of the firmware with assistance of the symbol information, wherein the status of the firmware includes an anomaly in the firmware;
- wherein generating the debug file according to the source code comprises:
- processing the source code by a compiler to generate the debug file, wherein the symbol information is not presented in machine language or assembly language.
A memory check system, comprising:
- a memory storage device having a firmware;
- and
- a host server coupled to the memory storage device,
- wherein the host server is configured to generate a debug file according to a source code, and the debug file carries symbol information related to a description message in the source code, wherein the description message is configured to describe a declaration, a definition, or a function of at least a part of codes in the source code,
- the host server is further configured to receive a memory data generated by the memory storage device in execution of the firmware,
- the host server is further configured to load the debug file to automatically analyze the memory data, and
- the host server is further configured to present an analysis result by an application program interface, wherein the analysis result reflects a status of the firmware with assistance of the symbol information, wherein the status of the firmware includes an anomaly in the firmware,
- wherein generating the debug file according to the source code comprises:
- processing the source code by a compiler to generate the debug file, wherein the symbol information is not presented in machine language or assembly language.
Dependencies are inferred from the claim text.