Work

From Ahead-of- to Just-in-Time and Back Again: Static Analysis for Unix Shell Programs

Year: 2025
Type: conference-paper
Abstract: Shell programming is as prevalent as ever. It is also quite complex, due to the structure of shell programs, their use of opaque software components, and their complex interactions with the broader environment. As a result, even when exercising an abundance of care, shell developers discover devastating bugs in their programs only at runtime: at best, shell programs going wrong crash the execution of a long-running task; at worst, they silently corrupt the broader environment in which they execute---affecting user data, modifying system files, and rendering entire systems unusable. Could the shell's users enjoy the benefits of semantics-driven static analysis before their programs' execution---as offered by most other production languages?
Language: English
Open Access status: hybrid
OpenAlex ID: W4411092028
FWCI: 0.984
Cites: 21
Cited by: 1
Related to: 10