Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdba81c8

Browse files
Add log4j
1 parent25f607a commitdba81c8

File tree

7 files changed

+2506
-0
lines changed

7 files changed

+2506
-0
lines changed

‎log4j/2.14.0/Server.java‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
importorg.apache.logging.log4j.LogManager;
2+
importorg.apache.logging.log4j.Logger;
3+
4+
publicclassServer {
5+
6+
publicstaticvoidmain(String[]args) {
7+
Loggerlogger =LogManager.getLogger(Server.class);
8+
Stringinput =getInput();
9+
logger.error(input);
10+
}
11+
12+
privatestaticStringgetInput() {
13+
return"${jndi:ldap://127.0.0.1:1389/Server}";
14+
}
15+
}

‎log4j/2.14.0/log4j-api-2.14.0.jar‎

294 KB
Binary file not shown.

‎log4j/2.14.0/log4j-core-2.14.0.jar‎

1.68 MB
Binary file not shown.

‎log4j/2.14.0/options.yml‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
optionsFile:null
2+
printHelp:false
3+
classPath:null
4+
appClassPath:java-benchmarks/log4j/2.14.0;java-benchmarks/log4j/2.14.0/log4j-api-2.14.0.jar;java-benchmarks/log4j/2.14.0/log4j-core-2.14.0.jar
5+
mainClass:Server
6+
inputClasses:[]
7+
javaVersion:8
8+
prependJVM:false
9+
allowPhantom:true
10+
worldBuilderClass:pascal.taie.frontend.soot.SootWorldBuilder
11+
outputDir:output
12+
preBuildIR:false
13+
worldCacheMode:false
14+
scope:APP
15+
nativeModel:true
16+
planFile:null
17+
analyses:
18+
pta:cs:ci;implicit-entries:false;distinguish-string-constants:null;reflection-inference:solar;taint-config:java-benchmarks/log4j/2.14.0/taint-config.yml;reflection-log:java-benchmarks/log4j/2.14.0/refl.log;#dump-ci:true;
19+
onlyGenPlan:false
20+
keepResult:
21+
-$KEEP-ALL

‎log4j/2.14.0/refl.log‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Method.invoke;<org.apache.logging.log4j.core.config.LoggerConfig$RootLogger: org.apache.logging.log4j.core.config.LoggerConfig createLogger(java.lang.String,org.apache.logging.log4j.Level,java.lang.String,org.apache.logging.log4j.core.config.AppenderRef[],org.apache.logging.log4j.core.config.Property[],org.apache.logging.log4j.core.config.Configuration,org.apache.logging.log4j.core.Filter)>;org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build;136;isAccessible=false;
2+
Method.invoke;<org.apache.logging.log4j.core.config.LoggersPlugin: org.apache.logging.log4j.core.config.Loggers createLoggers(org.apache.logging.log4j.core.config.LoggerConfig[])>;org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build;136;isAccessible=false;
3+
Method.invoke;<org.apache.logging.log4j.core.pattern.MessagePatternConverter: org.apache.logging.log4j.core.pattern.MessagePatternConverter newInstance(org.apache.logging.log4j.core.config.Configuration,java.lang.String[])>;org.apache.logging.log4j.core.pattern.PatternParser.createConverter;591;isAccessible=false;
4+
Array.newInstance;org.apache.logging.log4j.core.config.LoggerConfig[];org.apache.logging.log4j.core.config.plugins.visitors.PluginElementVisitor.visit;82;;

‎log4j/2.14.0/taint-config.yml‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
sources:
2+
-{ kind: call, method: "<Server: java.lang.String getInput()>", index: result }
3+
4+
sinks:
5+
-{ method: "<javax.naming.InitialContext: java.lang.Object lookup(java.lang.String)>", index: 0 }
6+
7+
transfers:
8+
-{ method: "<org.apache.logging.log4j.message.ReusableMessageFactory: org.apache.logging.log4j.message.Message newMessage(java.lang.String)>", from: 0, to: result, type: "org.apache.logging.log4j.message.ReusableSimpleMessage" }
9+
-{ method: "<org.apache.logging.log4j.core.impl.ReusableLogEventFactory: org.apache.logging.log4j.core.LogEvent createEvent(java.lang.String,org.apache.logging.log4j.Marker,java.lang.String,org.apache.logging.log4j.Level,org.apache.logging.log4j.message.Message,java.util.List,java.lang.Throwable)>", from: 4, to: result, type: "org.apache.logging.log4j.core.impl.MutableLogEvent" }
10+
-{ method: "<org.apache.logging.log4j.core.impl.MutableLogEvent: void formatTo(java.lang.StringBuilder)>", from: base, to: 0 }
11+
-{ method: "<java.lang.StringBuilder: void <init>(java.lang.String)>", from: 0, to: base }
12+
-{ method: "<java.lang.StringBuilder: java.lang.String substring(int,int)>", from: base, to: result }
13+
-{ method: "<java.lang.StringBuilder: void getChars(int,int,char[],int)>", from: base, to: 2 }
14+
-{ method: "<java.lang.String: java.lang.String substring(int)>", from: base, to: result }
15+
-{ method: "<java.lang.String: void <init>(char[],int,int)>", from: 0, to: base }

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp