Invention Grant
- Patent Title: Source code extraction via monitoring processing of obfuscated byte code
-
Application No.: US15699716Application Date: 2017-09-08
-
Publication No.: US10394554B1Publication Date: 2019-08-27
- Inventor: Richard Healey
- Applicant: Stripe, Inc.
- Applicant Address: US CA San Francisco
- Assignee: STRIPE, INC.
- Current Assignee: STRIPE, INC.
- Current Assignee Address: US CA San Francisco
- Agency: Womble Bond Dickinson (US) LLP
- Main IPC: G06F8/74
- IPC: G06F8/74 ; G06F8/53 ; G06F9/455 ; G06F21/14

Abstract:
In embodiments, methods and systems for implementing source code extraction are provided. Source code extraction facilitates processing obfuscated byte code and extracting source code representations of original source code of applications. Source code extraction is implemented based on leveraging and monitoring an interpreter (e.g., a software interpreter running on a virtual machine) when portions of obfuscated byte code (i.e., obfuscated compiled version of source code) are loaded or executed using the interpreter. In operation, the obfuscated byte code is accessed at the interpreter. The interpreter, processing the obfuscated byte code, is monitored using a source code extraction manager that supports instrumentation instances associated with functions of the obfuscated byte code. Instruction sequences of functions that the interpreter is processing are recorded using the source code extraction manager. Source code representations are generated based on the instruction sequences that are recorded while monitoring the functions that are processed by the interpreter.
Information query