烟灰:如何在指定的标签中获取jimple语句?

时间:2019-01-01 05:35:36

标签: soot

方法的简单主体如下:

 <org.apache.hadoop.hdfs.DataStreamer: void handleDatanodeReplacement()>
private void handleDatanodeReplacement() throws java.io.IOException
{
    ...

 label4:
    $r7 = <org.apache.hadoop.hdfs.DataStreamer: org.slf4j.Logger LOG>;

    interfaceinvoke $r7.<org.slf4j.Logger: void warn(java.lang.String,java.lang.Throwable)>("Failed to replace datanode. Continue with the remaining datanodes since dfs.client.block.write.replace-datanode-on-failure.best-effort is set to true.", ioe);

 label5:
    return;

    catch java.io.IOException from label1 to label2 with label3;
}

如何获取指定标签(如label4)中的jimple语句? 谢谢!

0 个答案:

没有答案
相关问题