test
parent
f251c3e9dc
commit
986b7a769d
|
@ -70,7 +70,7 @@ public class JavaAgent {
|
||||||
public static void agentmain(String args,Instrumentation inst){
|
public static void agentmain(String args,Instrumentation inst){
|
||||||
try{
|
try{
|
||||||
writeLog("argsxxxxxxxxxx=:[" + args + "]");
|
writeLog("argsxxxxxxxxxx=:[" + args + "]");
|
||||||
writeLog("argsxxxxxxxxxxyyy=:[" + args + "]");
|
writeLog("argsxxxxxxxxxxyyy=:[" + JavaAgent.class.getResource("").getPath() + "]");
|
||||||
File f = new File(args);
|
File f = new File(args);
|
||||||
byte[] targetClassFile = new byte[(int)f.length()];
|
byte[] targetClassFile = new byte[(int)f.length()];
|
||||||
DataInputStream dis = new DataInputStream(new FileInputStream(f));
|
DataInputStream dis = new DataInputStream(new FileInputStream(f));
|
||||||
|
|
Loading…
Reference in New Issue