| 1 |
#!/system/bin/shscip-shell filesystem . . `/system/bin/sh`. |
| 2 |
|
| 3 |
AGENT_OPTIONS= |
| 4 |
if [[ "$1" == --agent-options ]] ; then |
| 5 |
shift |
| 6 |
AGENT_OPTIONS="=$1" |
| 7 |
shift |
| 8 |
fi |
| 9 |
|
| 10 |
APP=$1 |
| 11 |
shift |
| 12 |
|
| 13 |
$APP -Xplugin:libopenjdkjvmti.so "-agentpath:liblockagent.so$AGENT_OPTIONS" $@ |