发明名称 Extracting source code
摘要 Methods, systems, and apparatus, including computer programs encoded on computer storage media, for extracting source code. One of the methods includes receiving, by a newly created process, a request to execute code of an executable file in the newly created process, wherein the request specifies a parameter. The newly created process loads a process interception library. Library initialization code of the process interception library determines whether the parameter should be intercepted. In response to determining that the parameter should be intercepted, the parameter is provided to another process.
申请公布号 US9110737(B1) 申请公布日期 2015.08.18
申请号 US201414292691 申请日期 2014.05.30
申请人 Semmle Limited 发明人 Tibble Julian;Avgustinov Pavel;Cawley Peter
分类号 G06F9/44;G06F9/445 主分类号 G06F9/44
代理机构 Fish & Richardson P.C. 代理人 Fish & Richardson P.C.
主权项 1. A method performed on a computer system comprising one or more computers, the method comprising: receiving, by a newly created process, a request to execute code of an executable file in the newly created process, wherein the request specifies a; loading, by the newly created process, a process interception library; determining, by library initialization code of the process interception library, that the parameter should be intercepted executable file is a compiler; determining, by the library initialization code, to invoke a compiler process to compile the source code file before invoking a new extractor process based on a system setting that specifies an order in which the compiler process and the new extractor process are invoked; in response to determining to invoke the compiler process to compile the source code file before invoking the new extractor process, invoking, by the library initialization code, the compiler process before invoking the new extractor process, wherein the new extractor process accesses output generated by the compiler process; after invoking the compiler process, invoking, by the library initialization code, a new extractor process; and providing the location of the source code file as a new parameter to the new extractor process.
地址 GB