Skip to content

Commit

Permalink
remove send metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
yoloyyh committed Jun 17, 2024
1 parent b247591 commit 008392b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ public void onScanAllClass() {
client.write(Operate.SCANCLASS, classFilter);
client.write(Operate.COUNTMEMSHELL, classFilter);
SmithLogger.logger.info("send metadata: " + classFilter.toString());
sendClass(clazz, classFilter.getTransId());
// sendClass(clazz, classFilter.getTransId());

} catch(Exception e) {
SmithLogger.exception(e);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public void sendMetadataClass(Class<?> cla) {
client.write(Operate.SCANCLASS, classFilter);
client.write(Operate.COUNTMEMSHELL, classFilter);
SmithLogger.logger.info("send metadata: " + classFilter.toString());
SmithProbe.getInstance().sendClass(cla, classFilter.getTransId());
// SmithProbe.getInstance().sendClass(cla, classFilter.getTransId());
}
}

Expand Down Expand Up @@ -258,7 +258,7 @@ public void checkAddFilterPre(int classID, int methodID, Object[] args) {
client.write(Operate.SCANCLASS, classFilter);
client.write(Operate.COUNTMEMSHELL, classFilter);
SmithLogger.logger.info("send metadata: " + classFilter.toString());
SmithProbe.getInstance().sendClass(clazz, classFilter.getTransId());
// SmithProbe.getInstance().sendClass(clazz, classFilter.getTransId());
}
} else {
needFoundfilterDef.set(filterdef);
Expand Down Expand Up @@ -533,7 +533,7 @@ public void checkWildflyaddServletPre(int classID, int methodID, Object[] args)
client.write(Operate.SCANCLASS, classFilter);
client.write(Operate.COUNTMEMSHELL, classFilter);
SmithLogger.logger.info("send metadata: " + classFilter.toString());
SmithProbe.getInstance().sendClass(servletClass, classFilter.getTransId());
// SmithProbe.getInstance().sendClass(servletClass, classFilter.getTransId());
}
} else {
SmithLogger.logger.warning("can't find "+servletName);
Expand Down

0 comments on commit 008392b

Please sign in to comment.