-
公开(公告)号:US11487522B1
公开(公告)日:2022-11-01
申请号:US17318687
申请日:2021-05-12
Applicant: X Development LLC
Inventor: Rishabh Singh , Nisarg Vyas , Jayendra Parmar , Dhara Kotecha , Artem Goncharuk , David Andre
Abstract: Training and/or utilization of a neural decompiler that can be used to generate, from a lower-level compiled representation, a target source code snippet in a target programming language. In some implementations, the lower-level compiled representation is generated by compiling a base source code snippet that is in a base programming language, thereby enabling translation of the base programming language (e.g., C++) to a target programming language (e.g., Python). In some of those implementations, output(s) from the neural decompiler indicate canonical representation(s) of variables. Technique(s) can be used to match those canonical representation(s) to variable(s) of the base source code snippet. In some implementations, multiple candidate target source code snippets are generated using the neural decompiler, and a subset (e.g., one) is selected based on evaluation(s).