All Projects → szabta89 → Inca

szabta89 / Inca

Licence: epl-2.0
Incremental Program Analysis Framework

Programming Languages

dsl
153 projects

Projects that are alternatives of or similar to Inca

adversarial-code-generation
Source code for the ICLR 2021 work "Generating Adversarial Computer Programs using Optimized Obfuscations"
Stars: ✭ 16 (-67.35%)
Mutual labels:  program-analysis
programanalysiscourse
COM S 413/513 and CPR E 513 Foundations and Applications of Program Analysis @ Iowa State University
Stars: ✭ 19 (-61.22%)
Mutual labels:  program-analysis
Wala
T.J. Watson Libraries for Analysis
Stars: ✭ 395 (+706.12%)
Mutual labels:  program-analysis
clam
Static Analyzer for LLVM bitcode based on Abstract Interpretation
Stars: ✭ 180 (+267.35%)
Mutual labels:  program-analysis
instrumentation
Assorted pintools
Stars: ✭ 24 (-51.02%)
Mutual labels:  program-analysis
Linter
Static Analysis Compiler Plugin for Scala
Stars: ✭ 273 (+457.14%)
Mutual labels:  program-analysis
tiro
TIRO - A hybrid iterative deobfuscation framework for Android applications
Stars: ✭ 20 (-59.18%)
Mutual labels:  program-analysis
Die Engine
DIE engine
Stars: ✭ 648 (+1222.45%)
Mutual labels:  program-analysis
progge.rs
Program analysis playground for a simple, imperative language
Stars: ✭ 29 (-40.82%)
Mutual labels:  program-analysis
Symbolic Execution
History of symbolic execution (as well as SAT/SMT solving, fuzzing, and taint data tracking)
Stars: ✭ 395 (+706.12%)
Mutual labels:  program-analysis
binary-decompilation
Extracting high level semantic information from binary code
Stars: ✭ 55 (+12.24%)
Mutual labels:  program-analysis
blinky
Java Code Instrumenter and Execution Tracer
Stars: ✭ 16 (-67.35%)
Mutual labels:  program-analysis
Falcon
Binary Analysis Framework in Rust
Stars: ✭ 307 (+526.53%)
Mutual labels:  program-analysis
Binja4J
No description or website provided.
Stars: ✭ 14 (-71.43%)
Mutual labels:  program-analysis
Phasar
A LLVM-based static analysis framework.
Stars: ✭ 503 (+926.53%)
Mutual labels:  program-analysis
surveyor
A symbolic debugger for C/C++ (via LLVM), machine code, and JVM programs
Stars: ✭ 14 (-71.43%)
Mutual labels:  program-analysis
Seahorn
SeaHorn Verification Framework
Stars: ✭ 270 (+451.02%)
Mutual labels:  program-analysis
Rizin
UNIX-like reverse engineering framework and command-line toolset.
Stars: ✭ 673 (+1273.47%)
Mutual labels:  program-analysis
Pyre Check
Performant type-checking for python.
Stars: ✭ 5,716 (+11565.31%)
Mutual labels:  program-analysis
Cwe checker
cwe_checker finds vulnerable patterns in binary executables
Stars: ✭ 372 (+659.18%)
Mutual labels:  program-analysis

IncA

Overview

IncA is a program analysis framework. It comes with a DSL for the definition of program analyses and the runtime system evaluates program analyses incrementally to achieve the performance that is needed for real-time feedback in IDEs. When code gets changed, the IncA runtime system incrementally updates analysis results instead of the repeated recomputation from scratch. IncA program analysis code is translated into graph patterns, and we reuse existing incremental graph pattern matching solutions to evaluate the analysis code on the AST of the analyzed program.

Getting Started

IncA is tightly integrated into the JetBrains MPS language workbench (https://www.jetbrains.com/mps/). The primary goal of this integration is to make analysis development and maintenance an integral part of the language development process. Getting started with IncA is easy, it only requires Java 11 and MPS 2019.3.x. Note that there are maintenance branches for earlier MPS versions (e.g. 2018.3, 2019.1, 2019.2), as well. Keep in mind that MPS versions <= 2019.1.x used Java 8 instead of Java 11.

The project is equipped with a Gradle build, and setting up the project requires the cloning of this project and running ./gradlew in the root directory from a command line. The default gradle task takes care of downloading all dependencies and building IncA itself. Note that the build downloads MPS itself because it is required for building IncA, though, the downloaded MPS application is independent from any of your existing MPS installations. Once the project is built, you can start using IncA by opening the code directory (under the root directory) in MPS. Once you have opened the project in MPS, you need to set up a path variable inca.home in MPS Preferences -> Appearance & Behavior -> Path Variables. The path variable must point to the root folder of the git repository clone.

Pro tip: you can customize the contents of the MPS project libraries for IncA by creating a file libraries.overrides.properties in the root directory. The key-value pairs in this file will override the contents of the libraries.properties while generating the libraries.xml file for the project during the Gradle build.

Videos

The following videos provide a good starting point to explore IncA.

Better living through incrementality: Immediate static analysis feedback without loss of precision, Tamás Szabó, Sebastian Erdweg, SPLASH-I, 2018

vid1

Incrementalizing Lattice-Based Program Analyses in Datalog, Tamás Szabó, OOPSLA, 2018 vid2

Publications

IncA is a research project, and its various features have been documented in the following publications:

  • Incrementalizing inter-procedural program analyses with recursive aggregation in Datalog, Tamás Szabó, Gábor Bergmann, and Sebastian Erdweg. In Workshop on Incremental Computing (IC), 2019. [pdf]

  • Incrementalizing Lattice-Based Program Analyses in Datalog, Tamás Szabó, Gábor Bergmann, Sebastian Erdweg, and Markus Völter. In Proceedings of Conference on Object-Oriented Programming, Systems, Languages, and Applications (OOPSLA), 2018. [pdf]

  • Incremental Overload Resolution in Object-Oriented Programming Languages, Tamás Szabó, Edlira Kuci, Matthijs Bijman, Mira Mezini, and Sebastian Erdweg. In Proceedings of International Workshop on Formal Techniques for Java-like Programs (FTfJP), 2018. [pdf]

  • IncAL: A DSL for Incremental Program Analysis with Lattices, Tamás Szabó, Sebastian Erdweg, and Markus Völter. In Workshop on Incremental Computing (IC), 2017. [pdf]

  • IncA: A DSL for the Definition of Incremental Program Analyses, Tamás Szabó, Sebastian Erdweg, and Markus Völter. In Proceedings of International Conference on Automated Software Engineering (ASE), 2016. [pdf]

Examples

There are several example analyses in the project's tests folder (inside MPS). These examples range from simple analysis, like querying various properties of a small DSL that describes families and relationships, to complex program analyses, like strong update points-to analysis or static analyses of string values.

Contact

Feel free to get in touch if you would like to discuss about, contribute to, or simply use IncA. You can find all relevant contact information on szabta89.github.io.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].