Skip to content

Commit 513f5bb

Browse files
author
xueli.wang
committed
readme 更新
1 parent cd85cab commit 513f5bb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ Easy-byte-coder is a non-invasive bytecode injection framework based on JVM. Jav
1212

1313
In Attach mode, Easy-byte-coder depends on the jvm runtime environment variable, please make sure **JAVA_HOME** existed. Agent mode has no need for this setting.
1414

15-
Starting in Attach mode:
15+
Start in Attach mode:
1616

1717
```
1818
java -Xbootclasspath/a:$JAVA_HOME/lib/tools.jar -jar bootstrap.jar
1919
```
2020

21-
Next, selecting the process to inject:
21+
Next, select the process to inject:
2222

2323
![image-20200818201959949](./img/image-20200818201959949.png)
2424

@@ -31,7 +31,7 @@ Attached to target JVM and loaded Java agent successfully
3131

3232
If you need to modify JDK source codes, like injecting JDK methods, or making many modifications when starting, you can use Agent mode.
3333

34-
Starting in Agent mode:
34+
Start in Agent mode:
3535

3636
```
3737
-javaagent:/Users/xujie/work/ymm/jar/agent.jar=plugins=systemtime.jar:RunMode=mock
@@ -44,10 +44,10 @@ Starting in Agent mode:
4444
In Easy-byte-coder, you can implement injection of method pointcuts by extending interface meanwhile specifying the class to modify. These pointcuts allowed to use currently include:
4545

4646
- LocalVariables: add LocalVariables in method.
47-
- Before: modify before mothed execution.
48-
- After: modify before mothed return.
47+
- Before: modify before method execution.
48+
- After: modify before method return.
4949
- Catch: catch customized exception.
50-
- Body: replace the whole mothod body.
50+
- Body: replace the whole method body.
5151

5252
### Class isolation
5353

0 commit comments

Comments
 (0)