arrow
Return

Specification Inference Modulo Oracles for Database-Backed Web Applications

delete2026-01-01
delete0
PRE
AI
N
Nitesh Trivedi *
S
Subhajit Roy
DOI:10.1007/978-981-95-3585-9_10delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
In logical reasoning, specification inference attempts to synthesize an explanatory hypothesis from a given conclusion. We consider the specification synthesis problem for database-backed web-applications where only an oracle access to the application is available. Such is a real case for test teams where they are not provided access to the application. Our algorithm begins with an initial hypothesis constructed from responses of the web-application on a sampled dataset, and then improves this hypothesis iteratively via carefully constructed queries to the application (via an SMT solver). Finally, statistical tests are used to validate the soundness and maximality of the constructed hypothesis. We implement our algorithm in a tool, Vivaran, and demonstrate its capabilities on a large web-based enterprise resource planning (ERP) software. Vivaran infers semantically equivalent specifications as the ground-truth in all cases.
Keywords:
Specification Inference
Oracle
SMT Solvers

Journal

P
PROGRAMMING LANGUAGES AND SYSTEMS, APLAS 2025
IF:
0
Papers:
13
Citations:
0

Organization

I
indian institute of technology system (iit system)
Scholars:
9.5W
Papers: 9.9W
Citations: 93
Cited Papers

Cited Papers

err
IF0
err
err0
PREAI
err
errShare
errSave
errShare
errSave
Scalable Algorithms for Abduction via Enumerative Syntax-Guided Synthesis
err2020-01-01
err0
PREAI
errReynolds,Andrew; Barbosa,Haniel; Larraz,Daniel; Tinelli,Cesare
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
errShare
errSave
Data-Driven Invariant Learning for Probabilistic Programs
err2022-01-01
err0
PREAI
errBao,Jialu; Trivedi,Nitesh; Pathak,Drashti; Hsu,Justin; Roy,Subhajit
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
Inductive invariant generation via abductive inference
err2013-11-12
err0
PREAI
errDillig,Isil; Dillig,Thomas; Li,Boyang; McMillan,Ken
errShare
errSave
researcher View more