soot-oss / taintanalysis Goto Github PK
View Code? Open in Web Editor NEWTaint analysis implementation based on Heros and Soot
Taint analysis implementation based on Heros and Soot
It seems that all test programs do not have SinkClass
? So, I think they are useless for testing? Or, does another test set exist?
I am unable to compile this project due to a missing nested dependency. I have traced the origin to PathExpression, in the following hierarchy:
TaintAnalysis
→ de.fraunhofer.iem.boomerangPDS
→ ... → de.fraunhofer.iem.PathExpression
Steps to reproduce
git clone https://github.com/soot-oss/TaintAnalysis.git && cd TaintAnalysis && mvn clean install
It gives
[INFO] ----------------------< de.upb.sse:TaintAnalysis >----------------------
[INFO] Building TaintAnalysis 1.0-SNAPSHOT
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from swt: https://soot-build.cs.uni-paderborn.de/nexus/repository/swt-
upb/de/fraunhofer/iem/PathExpression/1.0.0/PathExpression-1.0.0.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.107 s
[INFO] Finished at: 2024-05-01T10:47:17-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project TaintAnalysis: Could not resolve
dependencies for project de.upb.sse:TaintAnalysis:jar:1.0-SNAPSHOT: Failed to
collect dependencies at de.fraunhofer.iem:boomerangPDS:jar:3.1.1 ->
de.fraunhofer.iem:testCore:jar:3.1.1 -> de.fraunhofer.iem:synchronizedPDS:jar:3.1.1 ->
de.fraunhofer.iem:WPDS:jar:3.1.1 -> de.fraunhofer.iem:PathExpression:jar:1.0.0:
Failed to read artifact descriptor for de.fraunhofer.iem:PathExpression:jar:1.0.0:
The following artifacts could not be resolved:
de.fraunhofer.iem:PathExpression:pom:1.0.0 (absent): Could not transfer artifact
de.fraunhofer.iem:PathExpression:pom:1.0.0 from/to swt
(https://soot-build.cs.uni-paderborn.de/nexus/repository/swt-upb/):
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException:
unable to find valid certification path to requested target -> [Help 1]
It seems the hosting repository at <https://soot-build.cs.uni-paderborn.de/nexus/repository/swt-upb/> is no longer accessible. After a few attempts (on different machines, times and networks), it seems a valid issue, and I was unable to find a way around it.
I constructed a testcase named 'Field6' and then executed the following test code, only to discover that the variable 't' was not identified as a tainted variable.
@Test
public void Field6() {
JimpleIFDSSolver<?, ? extends InterproceduralCFG<Unit, SootMethod>> analysis = executeStaticAnalysis(target.taint.Filed6.class.getName());
Set<String> defaultIDEResult = getResult(analysis);
Set<String> expected = new HashSet<>();
expected.add("a");
expected.add("f.x");
expected.add("t");
checkResults(defaultIDEResult, expected);
}
package target.taint;
import target.taint.internal.SourceClass;
public class Filed6 {
private String x;
private String y;
public static void main(String[] args) {
Filed6 f = new Filed6();
SourceClass sc = new SourceClass();
String a = sc.anInstanceSource();
f.setX(a);
String t = f.getOther();
}
public void setX(String x) {
this.x = x;
}
public String getX() {
return x;
}
public void setY(String y) {
this.y = y;
}
public String getY() {
return y;
}
public String getOther(){
return this.x;
}
}
Hello, I hope you are well. I was wondering, does your repository log any output of what variables are tainted or not? If so, where can I find such a log? Thank you for your help; I appreciate it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.