Inference and Regeneration of Programs that Manipulate Relational Databases Shen, Jiasi; Rinard, Martin We present a new technique that infers models of programs that manipulate relational databases. This technique generates test databases and input commands, runs the program, then observes the resulting outputs and updated databases to infer the model. Because the technique works only with the externally observable inputs, outputs, and databases, it can infer the behavior of programs written in arbitrary languages using arbitrary coding styles and patterns. We also present a technique for automatically regenerating an implementation of the program based on the inferred model. The regenerator can produce a translated implementation in a different language and systematically include relevant security and error checks. We present results that illustrate the use of the technique to eliminate SQL injection vulnerabilities and the translation of applications from Java and Ruby on Rails to Python.
from Computer Science and Artificial Intelligence Lab (CSAIL) http://ift.tt/2vKJ9VN
Home » Computer Science and Artificial Intelligence Lab (CSAIL) » Inference and Regeneration of Programs that Manipulate Relational Databases
mercredi 30 août 2017
Inference and Regeneration of Programs that Manipulate Relational Databases
lainnya dari Computer Science and Artificial Intelligence CSAIL, Computer Science and Artificial Intelligence Lab (CSAIL)
Ditulis Oleh : Unknown // 13:02
Kategori:
Computer Science and Artificial Intelligence Lab (CSAIL)
Inscription à :
Publier les commentaires (Atom)
0 commentaires:
Enregistrer un commentaire