Skip to content

Commit

Permalink
Merge pull request #716 from bytedance/add-jvm-ut
Browse files Browse the repository at this point in the history
add getMethod
  • Loading branch information
yoloyyh authored Nov 29, 2024
2 parents 91ee917 + b9c8421 commit 9138fd9
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions rasp/jvm/JVMProbe/src/main/java/com/security/smith/SmithProbe.java
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,26 @@ public Object getSmithProbeProxy() {
return smithProxy;
}

public Map<String, Boolean> getSwitchConfig() {
return this.switchConfig;
}

public Map<Pair<Integer, Integer>, Filter> getFilter() {
return this.filters;
}

public Rule_Mgr getRuleMgr() {
return this.rulemgr;
}

public Rule_Config getRuleConfig() {
return this.ruleconfig;
}

public SmithProbeProxy getSmithProxy() {
return this.smithProxy;
}

public void setClassLoader(Object classLoaderObj) {
xClassLoaderObj = classLoaderObj;
}
Expand All @@ -237,6 +257,10 @@ public String getProbePath() {

}

public Set<String>[][] getHookTypes() {
return hookTypes;
}

public void init() {
AttachInfo.info();
SmithLogger.loggerProberInit();
Expand Down

0 comments on commit 9138fd9

Please sign in to comment.