Coder Social home page Coder Social logo

dependencycheck's Introduction

JavaCallGraph

基于Soot的调用图构建

Prerequisites

JDK目前需要用JDK8,JDK9之后引入了Module,JDK代码结果发生很大变化,Soot程序分析会有问题,官方已经有解决方案,但是还未尝试

How to run

通过JSON配置文件指定运行参数,包括

  • 项目名称
  • 本地路径:war包、jar包、class文件的路径,多个以分号分隔,如果是目录,将自动遍历目录找到所有的war包、jar包和class文件
  • 分析入口:分析的入口方法,PackageInclusion(包含指定包名的类)、PackageExclusion(过滤指定包名的类)、MethodInclusion(包含指定方法)、MethodExclusion(过滤指定方法),按照上述顺序依次执行过滤,可以仅指定部分包名或方法名,多个以分号分割
  • 构建类型:函数调用图的构建方法,包括RTA、Spark、Geom,按顺序精确度越来越高,但是运行开销(时间和空间)也越来越大,默认RTA

例如:

{
  "Name": "test",
  "Path": "",
  "EntranceSetting": {
    "PackageInclusion" : "",
    "PackageExclusion" : "",
    "MethodInclusion" : "",
    "MethodExclusion" : ""
  },
  "CGType" : "CHA"
}

dependencycheck's People

Contributors

zzzyyy-kb avatar

Watchers

 avatar

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.