Skip to content

Commit b9c8421

Browse files
committed
add getMethod
1 parent 0377060 commit b9c8421

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

rasp/jvm/JVMProbe/src/main/java/com/security/smith/SmithProbe.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,26 @@ public Object getSmithProbeProxy() {
215215
return smithProxy;
216216
}
217217

218+
public Map<String, Boolean> getSwitchConfig() {
219+
return this.switchConfig;
220+
}
221+
222+
public Map<Pair<Integer, Integer>, Filter> getFilter() {
223+
return this.filters;
224+
}
225+
226+
public Rule_Mgr getRuleMgr() {
227+
return this.rulemgr;
228+
}
229+
230+
public Rule_Config getRuleConfig() {
231+
return this.ruleconfig;
232+
}
233+
234+
public SmithProbeProxy getSmithProxy() {
235+
return this.smithProxy;
236+
}
237+
218238
public void setClassLoader(Object classLoaderObj) {
219239
xClassLoaderObj = classLoaderObj;
220240
}
@@ -237,6 +257,10 @@ public String getProbePath() {
237257

238258
}
239259

260+
public Set<String>[][] getHookTypes() {
261+
return hookTypes;
262+
}
263+
240264
public void init() {
241265
AttachInfo.info();
242266
SmithLogger.loggerProberInit();

0 commit comments

Comments
 (0)