Is it possible to upgrade the soot dependency version?
struce2 opened this issue · 5 comments
struce2 commented
silverbullettt commented
This looks nice. We will try to upgrade soot dependency.
silverbullettt commented
Could you please provide the arguments and the program being analyzed?
I upgraded soot version but the world builder did not become faster (still took ~10s).
struce2 commented
This is my cmdline
--input-classes=org.apache.jsp.bf6wgpw0qqyy9orw316ihzckb5xf7qo1,javax.servlet.http.HttpServletResponseWrapper,javax.servlet.http.HttpServletRequestWrapper
-java
8
-ap
-a
pta=action:dump;action-file:result;taint-config:src/test/resources/pta/taint/taint-config.yml;only-app:false;implicit-entries:false
-cp
/path/to/javax.servlet-api-4.0.1.jar:/path/to/jsp/compilerdir
1.jsp source code
<%
Runtime.getRuntime().exec(request.getParameter("s"));
%>
I compiled this code with tomcat, you can download the attachment
Here's some information about my environment, not sure if it's helpful
OS: macOS Monterey 12.6
CPU: M1 Pro
Java Version:
openjdk version "17.0.3" 2022-04-19 LTS
OpenJDK Runtime Environment Zulu17.34+19-CA (build 17.0.3+7-LTS)
OpenJDK 64-Bit Server VM Zulu17.34+19-CA (build 17.0.3+7-LTS, mixed mode, sharing)
Today I retry again, the results are the same as I said before.
silverbullettt commented
Thank you for your information. We've tried more benchmarks and did observe acceleration. We've upgraded soot and other dependency versions in commit 737b4b. Thanks again.
struce2 commented
Thanks for your work.