I want to instrument the code such as I can Insert specific statement before statements like this.property=property
. How can I find statements consists this
keyword, for this purpose by soot library?
Asked
Active
Viewed 222 times
-2

Racil Hilan
- 24,690
- 13
- 50
- 55

JachobTailor
- 107
- 11
1 Answers
0
I suggest you to transform the source code which contains this statement into jimple
file.
So you can know how soot construct jimple stmt
to generate this stmt
.
After this step,you can use api in soot.jimple.jimple
For this stmt, I think you'd need use newAssignStmt
.

fredmaggiowski
- 2,232
- 3
- 25
- 44