Giter VIP home page Giter VIP logo

taintanalysis's People

Contributors

kadirayk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

taintanalysis's Issues

A little question

It seems that all test programs do not have SinkClass? So, I think they are useless for testing? Or, does another test set exist?

PathExpression -- could not resolve dependencies

I am unable to compile this project due to a missing nested dependency. I have traced the origin to PathExpression, in the following hierarchy:

TaintAnalysisde.fraunhofer.iem.boomerangPDS → ... → de.fraunhofer.iem.PathExpression

Steps to reproduce

  1. Do steps in "Authenticating to GitHub Packages" from project readme.
  2. Run this command:
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.

The variable 't' is not recognized as a taint.

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;
    }
}

Logging of Output

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.