-
公开(公告)号:EP4369180A3
公开(公告)日:2024-05-22
申请号:EP24164113.3
申请日:2014-11-17
申请人: Google LLC
发明人: RAJANNA, Ramakrishna , GUPTA, Deepank , VELAYUTHAM, Arul Siva Murugan , SHEOPORY, Abhishek , AGARWAL, Ankit
摘要: Techniques and systems for creating a function call graph for a codebase are disclosed. Graph creation includes identifying functions (1001) in the codebase by a function signature and representing a function (1070) as a first node in the call graph. For that function, identifying (1200) call-to functions, call-from functions, and inheritance parents and children, and a base class from the function signature of that function; adding child nodes (1020) to the first node based on the identified call-to and call-from functions; for an interface call (1010) to a base class method in the function, adding child nodes (1020) to the first node based on implementations of an override of the base class method (1090); for an added child node, removing that child node from the first node if a source file that includes an implementation of an override and a source code file that includes the function don't share at least one common binary file (1100)-(1150).
-
公开(公告)号:EP4369180A2
公开(公告)日:2024-05-15
申请号:EP24164113.3
申请日:2014-11-17
申请人: Google LLC
发明人: RAJANNA, Ramakrishna , GUPTA, Deepank , VELAYUTHAM, Arul Siva Murugan , SHEOPORY, Abhishek , AGARWAL, Ankit
IPC分类号: G06F8/41
摘要: Techniques and systems for creating a function call graph for a codebase are disclosed. Graph creation includes identifying functions (1001) in the codebase by a function signature and representing a function (1070) as a first node in the call graph. For that function, identifying (1200) call-to functions, call-from functions, and inheritance parents and children, and a base class from the function signature of that function; adding child nodes (1020) to the first node based on the identified call-to and call-from functions; for an interface call (1010) to a base class method in the function, adding child nodes (1020) to the first node based on implementations of an override of the base class method (1090); for an added child node, removing that child node from the first node if a source file that includes an implementation of an override and a source code file that includes the function don't share at least one common binary file (1100)-(1150).
-