Skip to content

Commit

Permalink
Source code for salsa
Browse files Browse the repository at this point in the history
  • Loading branch information
joannacss committed Apr 11, 2021
1 parent 330fd18 commit 76f7cd9
Show file tree
Hide file tree
Showing 51 changed files with 5,455 additions and 0 deletions.
138 changes: 138 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
# OS generated files #
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db


# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# weird Icon\r that gets created on mac os
Icon

############################################################
#### CONFIGURATION FOR IGNORING INTELLIJ-SPECIFIC FILES ####
############################################################

# Source: https://github.com/github/gitignore/blob/master/Global/JetBrains.gitignore
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf

# Generated files
.idea/**/contentModel.xml

# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml

# Gradle
.idea/**/gradle.xml
.idea/**/libraries

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
.idea/artifacts
.idea/compiler.xml
.idea/modules.xml
.idea/*.iml
.idea/modules
*.iml
*.ipr

# CMake
cmake-build-*/

# Mongo Explorer plugin
.idea/**/mongoSettings.xml

# File-based project format
*.iws

# IntelliJ
out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Cursive Clojure plugin
.idea/replstate.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

# Editor-based Rest Client
.idea/httpRequests

# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser
# Ignores Icon? files that get created on Mac OS
Icon





# Compiled Java class files
*.class

# Compiled Python bytecode
*.py[cod]

# Log files
*.log

# Maven
target/
dist/

# JetBrains IDE
.idea/

# Unit test reports
TEST*.xml

# Generated by MacOS
.DS_Store

# Generated by Windows
Thumbs.db

# Applications
*.app
*.exe
*.war

# Large media files
*.mp4
*.tiff
*.avi
*.flv
*.mov
*.wmv

19 changes: 19 additions & 0 deletions salsa-src/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Salsa

Source code for **SALSA** (**S**tatic **A**na**L**ysis for **S**eri**A**lization).
It improves existing off-the-shelf pointer analysis to support the construction of callgraph that handles programs with serialization/deserialization.


## Requirements

* Maven 3.x
* Java 1.8

## Built With
* [WALA](https://github.com/WALA/wala)

## Questions, comments, or feedback?
* For Bugs/Questions: *File a bug report.*
* Improvement feedback: please contact *Joanna C. S. Santos* (`@joannacss` - Bitbucket / `@joannacss` - GitHub)

### Usage
133 changes: 133 additions & 0 deletions salsa-src/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>edu.rit.se.design</groupId>
<artifactId>salsa</artifactId>
<version>0.2</version>

<name>salsa</name>
<url>http://design.se.rit.edu</url>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>

<dependencies>
<dependency>
<groupId>edu.rit.se.design</groupId>
<artifactId>dodo-utils</artifactId>
<version>0.2</version>
</dependency>

<!-- Gson: Java to Json conversion -->
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.8.5</version>
<scope>compile</scope>
</dependency>

<!-- WALA Core dependencies -->
<dependency> <!-- WALA Core -->
<groupId>com.ibm.wala</groupId>
<artifactId>com.ibm.wala.core</artifactId>
<version>1.5.4</version>
</dependency>
<dependency> <!-- Utility library included with the (WALA) -->
<groupId>com.ibm.wala</groupId>
<artifactId>com.ibm.wala.util</artifactId>
<version>1.5.4</version>
<type>jar</type>
</dependency>
<dependency> <!-- WALA Common AST core library -->
<groupId>com.ibm.wala</groupId>
<artifactId>com.ibm.wala.cast</artifactId>
<version>1.5.4</version>
</dependency>
<dependency><!-- WALA Shrike library for bytecode reading and instrumentation-->
<groupId>com.ibm.wala</groupId>
<artifactId>com.ibm.wala.shrike</artifactId>
<version>1.5.4</version>
</dependency>
<dependency> <!-- WALA Common AST core Java front-end functionality -->
<groupId>com.ibm.wala</groupId>
<artifactId>com.ibm.wala.cast.java</artifactId>
<version>1.5.4</version>
</dependency>
<dependency> <!-- WALA Dalvik frontend -->
<groupId>com.ibm.wala</groupId>
<artifactId>com.ibm.wala.dalvik</artifactId>
<version>1.5.4</version>
</dependency>
<dependency> <!-- WALA Common AST Java ECJ front-end -->
<groupId>com.ibm.wala</groupId>
<artifactId>com.ibm.wala.cast.java.ecj</artifactId>
<version>1.5.4</version>
</dependency>

<!-- Dependency for adding extra data structures (e.g., tuples) -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.7</version>
<type>jar</type>
</dependency>

<!-- Apache Commons CLI -->
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
<version>1.4</version>
</dependency>

<!-- Apache Commons IO -->
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.7</version>
</dependency>


<!-- Testing dependency -->
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<version>1.7.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.7.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<version>5.7.1</version>
<scope>test</scope>
</dependency>


<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.7.1</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
<version>3.27.0-GA</version>
</dependency>



</dependencies>

</project>
Loading

0 comments on commit 76f7cd9

Please sign in to comment.