US 12,367,038 B2
System and method for analyzing and steering use of third-party libraries
Martin C. Rinard, Arlington, MA (US); and Nikolaos Vasilakis, Somerville, MA (US)
Assigned to MASSACHUSETTS INSTITUTE OF TECHNOLOGY, Cambridge, MA (US)
Filed by Massachusetts Institute of Technology, Cambridge, MA (US)
Filed on Nov. 16, 2022, as Appl. No. 18/056,072.
Claims priority of provisional application 63/279,969, filed on Nov. 16, 2021.
Prior Publication US 2023/0153109 A1, May 18, 2023
Int. Cl. G06F 8/75 (2018.01)
CPC G06F 8/75 (2013.01) 15 Claims
OG exemplary drawing
 
1. A system for analysis and steering use of third party libraries, comprising:
program source code comprising a plurality of modules;
at least one third party library; and
a processor and a memory configured to store non-transitory instructions that, when executed by the processor, run a module recontextualization application configured to:
decompose a program within the third-party library at boundaries of modules of the program, into the program's dependencies;
apply transformations to the decomposed program to insert analysis specific code, including a base transform wrap that traverses and augments values with runtime analysis monitors; and
reassemble individual components of the decomposed program to maintain original semantics of the program while incorporating the transformations that were applied to the decomposed program.