Stava
Stava is a static program analysis for identifying stack allocable objects of code written in Java 8
Install / Use
/learn @CompL-Research/StavaREADME
Stava
Stava is a static program analysis for identifying stack allocable objects of code written in Java. With the results generated, a JVM can be instructed to allocate those objects on the stack instead of the heap. Analysis is performed on java bytecode and Stava will only generate partial results if library code is unavailable. This project is based on the PYE framework.
Getting Started
Installation
This project only requires a working installation of Java 8. Clone the repo and you're good to go! Use scripts from the scripts package and set them up according to your installation.
Analysing Code
Sample scripts are provided in the scripts directory. There are 2 types of usecases for stava.
- Benchmark Code: This code is expected to be precompiled. These can be benchmarks like DaCapo.
- Application Code: This is code written by user that has to be compiled. More instructions here.
Built With
- Soot- a Java optimization framework which enables this project to look into class files and much more.
Authors
Related Skills
node-connect
346.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
