US 11,782,813 B2
Methods and apparatus to determine refined context for software bug detection and correction
Shengtian Zhou, Palo Alto, CA (US); Justin Gottschlich, Santa Clara, CA (US); Fangke Ye, Santa Clara, CA (US); Celine Lee, Santa Clara, CA (US); and Jesmin Jahan Tithi, Santa Clara, CA (US)
Assigned to Intel Corporation, Santa Clara, CA (US)
Filed by Intel Corporation, Santa Clara, CA (US)
Filed on Dec. 17, 2021, as Appl. No. 17/554,918.
Prior Publication US 2022/0114076 A1, Apr. 14, 2022
Int. Cl. G06F 11/36 (2006.01); G06N 3/08 (2023.01)
CPC G06F 11/3608 (2013.01) [G06F 11/362 (2013.01); G06F 11/3688 (2013.01); G06N 3/08 (2013.01)] 23 Claims
OG exemplary drawing
 
17. A method to determine refined context for software bug detection, the method comprising:
classifying a node on a graph, the graph to represent a computer program, the node to represent a partial bug context corresponding to the computer program;
identifying a location of a software bug in the computer program, the location based on the node;
determining a static bug context of the software bug using the location of the software bug;
determining a first dynamic bug context of the software bug using the location of the software bug; and
determining a refined bug context based on:
a count of overlapping lines between (a) the static bug context and the first dynamic bug context and (b) the static bug context and a second dynamic bug context;
a selection of a largest one of the count of overlapping lines; and
a merge of the static bug context, the first dynamic big context, and the second dynamic bug context.