Patents by Inventor Wen Ji Huang
Wen Ji Huang has filed for patents to protect the following inventions. This listing includes patent applications that are pending as well as patents that have already been granted by the United States Patent and Trademark Office (USPTO).
-
Patent number: 11983090Abstract: A method of analyzing source code includes receiving, by a processor, an updated version of a computer program, the updated version including a source code. The method also includes preprocessing, by a compiler, the source code for a target computing platform. Preprocessing the source code by the compiler includes identifying a macro condition associated with one or more computer instructions enclosed by a macro, determining object code corresponding to the one or more computer instructions based on a current value of the macro condition, and generating object code and macro information for output to a debugger, the macro information including one or more breakpoint conditions in the macro.Type: GrantFiled: February 17, 2022Date of Patent: May 14, 2024Assignee: International Business Machines CorporationInventors: Xiao Ling Chen, Wen Ji Huang, Heng Wang, Sheng Shuang Li, Wen Bin Han, Peng Hui Jiang
-
Patent number: 11966322Abstract: A method, computer program product and system are provided for preloading debug information based on the presence of incremental source code files. Based on parsed input parameters to a source code debugger, a source code repository and a local storage area are searched for an incremental file. In response to the incremental file being located, a preload indicator in the incremental file, which is a source code file, is set. Based on the preload indicator being set, debug symbol data from the incremental file is merged to a preload symbol list. In response to receiving a command to examine the debug symbol data from the incremental file, the preload symbol list is searched for the requested debug symbol data.Type: GrantFiled: November 25, 2020Date of Patent: April 23, 2024Assignee: International Business Machines CorporationInventors: Xiao Ling Chen, Xiao Xuan Fu, Jiang Yi Liu, Zhan Peng Huo, Wen Ji Huang, Qing Yu Pei, Min Cheng, Yan Huang
-
Patent number: 11947966Abstract: A computer-implemented method includes preprocessing, by a compiler, a plurality of macros in a computer program. Preprocessing a macro includes identifying a compile time condition associated with the macro. Preprocessing the macro further includes determining a current value of the compile time condition at the time of compiling a computer instruction and a previous value of the compile time condition. Preprocessing the macro further includes determining a set of computer instructions enclosed by the macro. The method further includes storing a macro information record that includes the compile time condition, the current value and the previous value of the compile time condition, and an identification of the set of computer instructions enclosed by the macro.Type: GrantFiled: October 11, 2021Date of Patent: April 2, 2024Assignee: International Business Machines CorporationInventors: Wen Ji Huang, Xiao Ling Chen, Wen Bin Han, Sheng Shuang Li, Xiao Zhen Zhu
-
Publication number: 20230259444Abstract: A method of analyzing source code includes receiving, by a processor, an updated version of a computer program, the updated version including a source code. The method also includes preprocessing, by a compiler, the source code for a target computing platform. Preprocessing the source code by the compiler includes identifying a macro condition associated with one or more computer instructions enclosed by a macro, determining object code corresponding to the one or more computer instructions based on a current value of the macro condition, and generating object code and macro information for output to a debugger, the macro information including one or more breakpoint conditions in the macro.Type: ApplicationFiled: February 17, 2022Publication date: August 17, 2023Inventors: Xiao Ling Chen, Wen Ji Huang, Heng Wang, Sheng Shuang Li, Wen Bin Han, Peng Hui Jiang
-
Publication number: 20230229581Abstract: Examples described herein provide a computer-implemented method for identifying regression test failures that includes comparing a base code to a new code to locate an updated aspect of a program. The method further includes inserting debug code into corresponding source files for each of the base code and the new code for the updated aspect. The method further includes building a first image for the base code and a second image for the new code, the first and second images running in respective first and second containers. The method further includes comparing debugging outputs from a regression test of the respective first and second containers to identify a regression test failure. The method further includes implementing a corrective action to correct the regression test failure.Type: ApplicationFiled: January 18, 2022Publication date: July 20, 2023Inventors: Xiao-Yu Li, Hua Wei Fan, Jiangang Deng, Hong Wei Sun, Xiao Ling Chen, Wen Ji Huang
-
Patent number: 11693759Abstract: Methods, computer program products, and/or systems are provided that perform the following operations: determining that a log multi-process debug mode is specified; obtaining a log file for debugging a source code, wherein the log file includes a plurality of log records; inserting a plurality of process identifier fields into each current log record in the log file; inserting a new log record into the log file for a created new process; and providing for performance of debugging for the source code based in part on the plurality of process identifier fields inserted into each current log record.Type: GrantFiled: May 14, 2021Date of Patent: July 4, 2023Assignee: International Business Machines CorporationInventors: Xiao Ling Chen, Qi Ye, Wen Ji Huang, Heng Wang, Kui Zhang
-
Patent number: 11675575Abstract: A computer-implemented method includes receiving, by a processor, an updated version of a computer program that includes several source code changes. A compiler preprocesses the source code changes for a target computing platform. The preprocessing includes identifying a compile time condition associated with one or more computer instructions enclosed by a macro, determining a current value of the compile time condition at the time of compiling, and determining corresponding object code based on the current value. Further, a macro information record for the macro is generated that includes the compile time condition, the current value, and an identification of the computer instructions. Further, a linker preprocesses the source code changes. This preprocessing includes determining that the object code is not included in an executable file, and updating the macro information record to indicate that the macro is not included in the executable file.Type: GrantFiled: September 13, 2022Date of Patent: June 13, 2023Assignee: International Business Machines CorporationInventors: Wen Ji Huang, Xiao Ling Chen, Sheng Shuang Li, Wen Bin Han, Jun Su
-
Publication number: 20230114540Abstract: A computer-implemented method includes receiving, by a processor, an updated version of a computer program that includes several source code changes. A compiler preprocesses the source code changes for a target computing platform. The preprocessing includes identifying a compile time condition associated with one or more computer instructions enclosed by a macro, determining a current value of the compile time condition at the time of compiling, and determining corresponding object code based on the current value. Further, a macro information record for the macro is generated that includes the compile time condition, the current value, and an identification of the computer instructions. Further, a linker preprocesses the source code changes. This preprocessing includes determining that the object code is not included in an executable file, and updating the macro information record to indicate that the macro is not included in the executable file.Type: ApplicationFiled: September 13, 2022Publication date: April 13, 2023Inventors: Wen Ji Huang, Xiao Ling Chen, Sheng Shuang Li, Wen Bin Han, Jun Su
-
Publication number: 20230115334Abstract: A computer-implemented method includes preprocessing, by a compiler, a plurality of macros in a computer program. Preprocessing a macro includes identifying a compile time condition associated with the macro. Preprocessing the macro further includes determining a current value of the compile time condition at the time of compiling a computer instruction and a previous value of the compile time condition. Preprocessing the macro further includes determining a set of computer instructions enclosed by the macro. The method further includes storing a macro information record that includes the compile time condition, the current value and the previous value of the compile time condition, and an identification of the set of computer instructions enclosed by the macro.Type: ApplicationFiled: October 11, 2021Publication date: April 13, 2023Inventors: Wen Ji HUANG, Xiao Ling CHEN, Wen Bin HAN, Sheng Shuang LI, Xiao Zhen ZHU
-
Publication number: 20230092747Abstract: Embodiments of the invention include a computer-implemented method that includes accessing, using a processor, a loader library; using the processor to generate a mock library comprising a mock version of the loader library; using the processor to containerize the loader library; and using the processor to unload the loader library.Type: ApplicationFiled: September 22, 2021Publication date: March 23, 2023Inventors: Heng Wang, Wan Yue Chen, Zhen Chen, Wen Ji Huang, Xiao Ling Chen, Dong Chen
-
Publication number: 20220365865Abstract: Methods, computer program products, and/or systems are provided that perform the following operations: determining that a log multi-process debug mode is specified; obtaining a log file for debugging a source code, wherein the log file includes a plurality of log records; inserting a plurality of process identifier fields into each current log record in the log file; inserting a new log record into the log file for a created new process; and providing for performance of debugging for the source code based in part on the plurality of process identifier fields inserted into each current log record.Type: ApplicationFiled: May 14, 2021Publication date: November 17, 2022Inventors: Xiao Ling Chen, Qi Ye, Wen Ji Huang, Heng Wang, Kui Zhang
-
Patent number: 11481200Abstract: A computer-implemented method includes receiving, by a processor, an updated version of a computer program that includes several source code changes. A compiler preprocesses the source code changes for a target computing platform. The preprocessing includes identifying a compile time condition associated with one or more computer instructions enclosed by a macro, determining a current value of the compile time condition at the time of compiling, and determining corresponding object code based on the current value. Further, a macro information record for the macro is generated that includes the compile time condition, the current value, and an identification of the computer instructions. Further, a linker preprocesses the source code changes. This preprocessing includes determining that the object code is not included in an executable file, and updating the macro information record to indicate that the macro is not included in the executable file.Type: GrantFiled: October 11, 2021Date of Patent: October 25, 2022Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATIONInventors: Wen Ji Huang, Xiao Ling Chen, Sheng Shuang Li, Wen Bin Han, Jun Su
-
Publication number: 20220164276Abstract: A method, computer program product and system are provided for preloading debug information based on the presence of incremental source code files. Based on parsed input parameters to a source code debugger, a source code repository and a local storage area are searched for an incremental file. In response to the incremental file being located, a preload indicator in the incremental file, which is a source code file, is set. Based on the preload indicator being set, debug symbol data from the incremental file is merged to a preload symbol list. In response to receiving a command to examine the debug symbol data from the incremental file, the preload symbol list is searched for the requested debug symbol data.Type: ApplicationFiled: November 25, 2020Publication date: May 26, 2022Inventors: Xiao Ling Chen, Xiao Xuan Fu, Jiang Yi Liu, Zhan Peng Huo, Wen Ji Huang, Qing Yu Pei, Min Cheng, Yan Huang
-
Patent number: 11288170Abstract: A computer receives a log file, where the log file comprises records associated with the instructions in a source code. The computer loads, using a debugger, the log file and the source code. The computer receives a loading address from the log file. The computer updates a debugging data format (DWARF) with the one or more records of the log file, where the DWARF is accessed using the loading address and comprises one or more data structure entries. The computer identifies a calling address from the log file and identifies the one or more data structure entries associated with the calling address.Type: GrantFiled: December 10, 2020Date of Patent: March 29, 2022Assignee: International Business Machines CorporationInventors: Xiao Ling Chen, Heng Wang, Tao Guan, Wen Ji Huang, Wen Bin Han, Sheng Shuang Li, Cheng Fang Wang
-
Patent number: 11074422Abstract: Methods, systems, and devices for determining a person's location and for presenting navigation instructions are provided. In an embodiment, a method for determining a user's location includes obtaining an image of a graphical indicator at a first location. The graphical indicator is located on a surface of an object in an area and the graphical indicator includes mapping and location information encoded in the graphical indicator. The method also includes determining a map and a user's location on the map according to the graphical indicator.Type: GrantFiled: January 3, 2019Date of Patent: July 27, 2021Assignee: International Business Machines CorporationInventors: Zhan Peng Huo, Wen Ji Huang, Wen Bin Han, Xue Yong Zhang
-
Publication number: 20200218863Abstract: Methods, systems, and devices for determining a person's location and for presenting navigation instructions are provided. In an embodiment, a method for determining a user's location includes obtaining an image of a graphical indicator at a first location. The graphical indicator is located on a surface of an object in an area and the graphical indicator includes mapping and location information encoded in the graphical indicator. The method also includes determining a map and a user's location on the map according to the graphical indicator.Type: ApplicationFiled: January 3, 2019Publication date: July 9, 2020Inventors: Zhan Peng Huo, Wen Ji Huang, Wen Bin Han, Xue Yong Zhang