发明名称 INTER-PROCEDURAL UNREACHABLE CODE ELIMINATION WITH USE GRAPH
摘要 Methods, apparatuses, and computer readable media for unreachable code identification and removal. A method includes generating a Use Graph for a program. Generating the Use Graph includes identifying global identifiers within the program, creating a node in the Use Graph for each of the global identifiers, traversing the program to identify each use of a global identifier, and creating edges in the Use Graph corresponding to each identified use of a global identifier. The method includes storing usee global identifiers identified from the Use Graph, and determining unused global identifiers corresponding to identified global identifiers that are not usee global identifiers. The method includes removing unreachable software code associated with the unused global identifiers from the program to produce a revised program and storing the revised program.
申请公布号 US2013275954(A1) 申请公布日期 2013.10.17
申请号 US201213449096 申请日期 2012.04.17
申请人 ZHANG YOUPU;FUTUREWEI TECHNOLOGIES, INC. 发明人 ZHANG YOUPU
分类号 G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址