-
公开(公告)号:US11983090B2
公开(公告)日:2024-05-14
申请号:US17674151
申请日:2022-02-17
Applicant: International Business Machines Corporation
Inventor: Xiao Ling Chen , Wen Ji Huang , Heng Wang , Sheng Shuang Li , Wen Bin Han , Peng Hui Jiang
CPC classification number: G06F11/3604 , G06F8/44 , G06F11/3624
Abstract: 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.
-
公开(公告)号:US12182559B2
公开(公告)日:2024-12-31
申请号:US18062266
申请日:2022-12-06
Applicant: INTERNATIONAL BUSINESS MACHINES CORPORATION
Inventor: Xiao Ling Chen , Si Yu Chen , Juliet Candee , Yan Fei Qin , Hao Wu , Wen Bin Han
Abstract: Computer implemented method, systems, and computer program products include program code executing on a processor(s) obtain a first container comprising image layers, wherein the image layers include a base image layer and one or more image layers. The program code determines dependencies between the image layers. The program code obtains a request for an application where at least one image layer of the one or more image layers comprises features of the application. The program code identifies, based on the dependencies, at least one additional image layer related to the at least one image layer. The program code generates and deploys a second container, where image layers of the second container consist of the at least one image layer, the at least one additional image layer related to the at least one image layer, and the base layer.
-
公开(公告)号:US20230114540A1
公开(公告)日:2023-04-13
申请号:US17931678
申请日:2022-09-13
Applicant: International Business Machines Corporation
Inventor: Wen Ji Huang , Xiao Ling Chen , Sheng Shuang Li , Wen Bin Han , Jun Su
Abstract: 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.
-
4.
公开(公告)号:US11947966B2
公开(公告)日:2024-04-02
申请号:US17498141
申请日:2021-10-11
Applicant: International Business Machines Corporation
Inventor: Wen Ji Huang , Xiao Ling Chen , Wen Bin Han , Sheng Shuang Li , Xiao Zhen Zhu
CPC classification number: G06F9/3017 , G06F8/41 , G06F9/44521 , G06F9/44552
Abstract: 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.
-
公开(公告)号:US11675575B2
公开(公告)日:2023-06-13
申请号:US17931678
申请日:2022-09-13
Applicant: International Business Machines Corporation
Inventor: Wen Ji Huang , Xiao Ling Chen , Sheng Shuang Li , Wen Bin Han , Jun Su
Abstract: 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.
-
公开(公告)号:US11288170B1
公开(公告)日:2022-03-29
申请号:US17247397
申请日:2020-12-10
Applicant: INTERNATIONAL BUSINESS MACHINES CORPORATION
Inventor: Xiao Ling Chen , Heng Wang , Tao Guan , Wen Ji Huang , Wen Bin Han , Sheng Shuang Li , Cheng Fang Wang
IPC: G06F11/36
Abstract: 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.
-
公开(公告)号:US20230259444A1
公开(公告)日:2023-08-17
申请号:US17674151
申请日:2022-02-17
Applicant: International Business Machines Corporation
Inventor: Xiao Ling Chen , Wen Ji Huang , Heng Wang , Sheng Shuang Li , Wen Bin Han , Peng Hui Jiang
CPC classification number: G06F11/3604 , G06F11/3624 , G06F8/44
Abstract: 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.
-
公开(公告)号:US11481200B1
公开(公告)日:2022-10-25
申请号:US17498138
申请日:2021-10-11
Applicant: INTERNATIONAL BUSINESS MACHINES CORPORATION
Inventor: Wen Ji Huang , Xiao Ling Chen , Sheng Shuang Li , Wen Bin Han , Jun Su
Abstract: 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.
-
公开(公告)号:US11074422B2
公开(公告)日:2021-07-27
申请号:US16238691
申请日:2019-01-03
Applicant: International Business Machines Corporation
Inventor: Zhan Peng Huo , Wen Ji Huang , Wen Bin Han , Xue Yong Zhang
Abstract: 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.
-
公开(公告)号:US20200218863A1
公开(公告)日:2020-07-09
申请号:US16238691
申请日:2019-01-03
Applicant: International Business Machines Corporation
Inventor: Zhan Peng Huo , Wen Ji Huang , Wen Bin Han , Xue Yong Zhang
Abstract: 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.
-
-
-
-
-
-
-
-
-