waderwu / extractor-java Goto Github PK
View Code? Open in Web Editor NEWCodeQL extractor for java, which don't need to compile java source
CodeQL extractor for java, which don't need to compile java source
报错, 应该是在 finalize
阶段触发的,没有 src 目录
No source code was seen and extracted to E:\codeql\extractor-java\springmvcdemo.
This can occur if the specified build commands failed to compile or process any code.
- Confirm that there is some source code for the specified language in the project.
- For codebases written in Go, JavaScript, TypeScript, and Python, do not specify
an explicit --command.
- For other languages, the --command must specify a "clean" build which compiles
all the source code files without reusing existing build artefacts.
完整运行日志输出
"C:\Program Files\Python310\python.exe" E:/codeql/extractor-java/run.py springmvcdemo E:/codeql/CodeQLpy/out/decode/classes -ld E:\codeql\StudyCodeQLpy\springmvc_demo
Namespace(db='springmvcdemo', srcroot='E:/codeql/CodeQLpy/out/decode/classes', lib=None, libdir=['E:\\codeql\\StudyCodeQLpy\\springmvc_demo'])
springmvcdemo
E:/codeql/CodeQLpy/out/decode/classes
None
['E:\\codeql\\StudyCodeQLpy\\springmvc_demo']
['E:\\codeql\\StudyCodeQLpy\\springmvc_demo\\WEB-INF\\lib\\commons-codec-1.11.jar', 'E:\\codeql\\StudyCodeQLpy\\springmvc_demo\\WEB-INF\\lib\\commons-logging-1.2.jar', 'E:\\codeql\\StudyCodeQLpy\\springmvc_demo\\WEB-INF\\lib\\fastjson-1.2.80.jar', 'E:\\codeql\\StudyCodeQLpy\\springmvc_demo\\WEB-INF\\lib\\httpclient-4.5.13.jar', 'E:\\codeql\\StudyCodeQLpy\\springmvc_demo\\WEB-INF\\lib\\httpcore-4.3.jar', 'E:\\codeql\\StudyCodeQLpy\\springmvc_demo\\WEB-INF\\lib\\jstl-1.2.jar', 'E:\\codeql\\StudyCodeQLpy\\springmvc_demo\\WEB-INF\\lib\\log4j-api-2.13.1.jar', 'E:\\codeql\\StudyCodeQLpy\\springmvc_demo\\WEB-INF\\lib\\log4j-core-2.13.1.jar', 'E:\\codeql\\StudyCodeQLpy\\springmvc_demo\\WEB-INF\\lib\\spring-aop-5.1.12.RELEASE.jar', 'E:\\codeql\\StudyCodeQLpy\\springmvc_demo\\WEB-INF\\lib\\spring-beans-5.1.12.RELEASE.jar', 'E:\\codeql\\StudyCodeQLpy\\springmvc_demo\\WEB-INF\\lib\\spring-context-5.1.12.RELEASE.jar', 'E:\\codeql\\StudyCodeQLpy\\springmvc_demo\\WEB-INF\\lib\\spring-core-5.1.12.RELEASE.jar', 'E:\\codeql\\StudyCodeQLpy\\springmvc_demo\\WEB-INF\\lib\\spring-expression-5.1.12.RELEASE.jar', 'E:\\codeql\\StudyCodeQLpy\\springmvc_demo\\WEB-INF\\lib\\spring-jcl-5.1.12.RELEASE.jar', 'E:\\codeql\\StudyCodeQLpy\\springmvc_demo\\WEB-INF\\lib\\spring-web-5.1.12.RELEASE.jar', 'E:\\codeql\\StudyCodeQLpy\\springmvc_demo\\WEB-INF\\lib\\spring-webmvc-5.1.12.RELEASE.jar', 'E:\\codeql\\StudyCodeQLpy\\springmvc_demo\\WEB-INF\\lib\\standard-1.1.2.jar', 'E:\\codeql\\StudyCodeQLpy\\springmvc_demo\\WEB-INF\\lib\\xmlpull-1.1.3.1.jar', 'E:\\codeql\\StudyCodeQLpy\\springmvc_demo\\WEB-INF\\lib\\xpp3_min-1.1.4c.jar', 'E:\\codeql\\StudyCodeQLpy\\springmvc_demo\\WEB-INF\\lib\\xstream-1.4.5.jar']
[*extract_log*] has start init_database
Calculating baseline information in E:\codeql\CodeQLpy\out\decode\classes
Resolving extractor java.
Successfully loaded extractor Java (java) from E:\codeql\codeql-win64-2.11.5\java.
Created skeleton CodeQL database at E:\codeql\extractor-java\springmvcdemo. This in-progress database is ready to be populated by an extractor.
[*extract_log*] dbpath : E:\codeql\extractor-java\springmvcdemo
[*extract_log*] has start generate_javacargs
17
[*extract_log*] has start generate_trap
[*extract_log*] has start finalize
No source code was seen and extracted to E:\codeql\extractor-java\springmvcdemo.
This can occur if the specified build commands failed to compile or process any code.
- Confirm that there is some source code for the specified language in the project.
- For codebases written in Go, JavaScript, TypeScript, and Python, do not specify
an explicit --command.
- For other languages, the --command must specify a "clean" build which compiles
all the source code files without reusing existing build artefacts.
附件
E:/codeql/CodeQLpy/out/decode/classes 的反编译源码
classes.zip
项目目录
springmvc_demo.zip
运行命令 "C:\Program Files\Python310\python.exe" E:/codeql/extractor-java/run.py springmvcdemo E:/codeql/CodeQLpy/out/decode/classes -ld E:\codeql\StudyCodeQLpy\springmvc_demo
[root@192 extractor-java]# codeql database finalize databaseapth
CodeQL detected code written in Java but could not process any of it. This can occur if the specified build commands failed to compile or process any code.
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.