⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 instructionlist.html

📁 一个用于对.class文件进行插桩的开源工具
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<DD>Insert an instruction at start of this list.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>i</CODE> - instruction to insert<DT><B>Returns:</B><DD>instruction handle of the inserted instruction</DL></DD></DL><HR><A NAME="insert(org.apache.bcel.generic.BranchInstruction)"><!-- --></A><H3>insert</H3><PRE>public <A HREF="../../../../org/apache/bcel/generic/BranchHandle.html">BranchHandle</A> <B>insert</B>(<A HREF="../../../../org/apache/bcel/generic/BranchInstruction.html">BranchInstruction</A>&nbsp;i)</PRE><DL><DD>Insert a branch instruction at start of this list.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>i</CODE> - branch instruction to insert<DT><B>Returns:</B><DD>branch instruction handle of the appended instruction</DL></DD></DL><HR><A NAME="insert(org.apache.bcel.generic.Instruction, org.apache.bcel.generic.Instruction)"><!-- --></A><H3>insert</H3><PRE>public <A HREF="../../../../org/apache/bcel/generic/InstructionHandle.html">InstructionHandle</A> <B>insert</B>(<A HREF="../../../../org/apache/bcel/generic/Instruction.html">Instruction</A>&nbsp;i,                                <A HREF="../../../../org/apache/bcel/generic/Instruction.html">Instruction</A>&nbsp;j)</PRE><DL><DD>Insert a single instruction j before another instruction i, which must be in this list of course!<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>i</CODE> - Instruction in list<DD><CODE>j</CODE> - Instruction to insert before i in list<DT><B>Returns:</B><DD>instruction handle of the first inserted instruction</DL></DD></DL><HR><A NAME="insert(org.apache.bcel.generic.Instruction, org.apache.bcel.generic.CompoundInstruction)"><!-- --></A><H3>insert</H3><PRE>public <A HREF="../../../../org/apache/bcel/generic/InstructionHandle.html">InstructionHandle</A> <B>insert</B>(<A HREF="../../../../org/apache/bcel/generic/Instruction.html">Instruction</A>&nbsp;i,                                <A HREF="../../../../org/apache/bcel/generic/CompoundInstruction.html">CompoundInstruction</A>&nbsp;c)</PRE><DL><DD>Insert a compound instruction before instruction i.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>i</CODE> - Instruction in list<DD><CODE>c</CODE> - The composite instruction (containing an InstructionList)<DT><B>Returns:</B><DD>instruction handle of the first inserted instruction</DL></DD></DL><HR><A NAME="insert(org.apache.bcel.generic.CompoundInstruction)"><!-- --></A><H3>insert</H3><PRE>public <A HREF="../../../../org/apache/bcel/generic/InstructionHandle.html">InstructionHandle</A> <B>insert</B>(<A HREF="../../../../org/apache/bcel/generic/CompoundInstruction.html">CompoundInstruction</A>&nbsp;c)</PRE><DL><DD>Insert a compound instruction.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - The composite instruction (containing an InstructionList)<DT><B>Returns:</B><DD>instruction handle of the first inserted instruction</DL></DD></DL><HR><A NAME="insert(org.apache.bcel.generic.InstructionHandle, org.apache.bcel.generic.Instruction)"><!-- --></A><H3>insert</H3><PRE>public <A HREF="../../../../org/apache/bcel/generic/InstructionHandle.html">InstructionHandle</A> <B>insert</B>(<A HREF="../../../../org/apache/bcel/generic/InstructionHandle.html">InstructionHandle</A>&nbsp;ih,                                <A HREF="../../../../org/apache/bcel/generic/Instruction.html">Instruction</A>&nbsp;i)</PRE><DL><DD>Insert an instruction before instruction (handle) ih contained in this list.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>ih</CODE> - where to insert to the instruction list<DD><CODE>i</CODE> - Instruction to insert<DT><B>Returns:</B><DD>instruction handle of the first inserted instruction</DL></DD></DL><HR><A NAME="insert(org.apache.bcel.generic.InstructionHandle, org.apache.bcel.generic.CompoundInstruction)"><!-- --></A><H3>insert</H3><PRE>public <A HREF="../../../../org/apache/bcel/generic/InstructionHandle.html">InstructionHandle</A> <B>insert</B>(<A HREF="../../../../org/apache/bcel/generic/InstructionHandle.html">InstructionHandle</A>&nbsp;ih,                                <A HREF="../../../../org/apache/bcel/generic/CompoundInstruction.html">CompoundInstruction</A>&nbsp;c)</PRE><DL><DD>Insert a compound instruction.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>ih</CODE> - where to insert the instruction list<DD><CODE>c</CODE> - The composite instruction (containing an InstructionList)<DT><B>Returns:</B><DD>instruction handle of the first inserted instruction</DL></DD></DL><HR><A NAME="insert(org.apache.bcel.generic.InstructionHandle, org.apache.bcel.generic.BranchInstruction)"><!-- --></A><H3>insert</H3><PRE>public <A HREF="../../../../org/apache/bcel/generic/BranchHandle.html">BranchHandle</A> <B>insert</B>(<A HREF="../../../../org/apache/bcel/generic/InstructionHandle.html">InstructionHandle</A>&nbsp;ih,                           <A HREF="../../../../org/apache/bcel/generic/BranchInstruction.html">BranchInstruction</A>&nbsp;i)</PRE><DL><DD>Insert an instruction before instruction (handle) ih contained in this list.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>ih</CODE> - where to insert to the instruction list<DD><CODE>i</CODE> - Instruction to insert<DT><B>Returns:</B><DD>instruction handle of the first inserted instruction</DL></DD></DL><HR><A NAME="move(org.apache.bcel.generic.InstructionHandle, org.apache.bcel.generic.InstructionHandle, org.apache.bcel.generic.InstructionHandle)"><!-- --></A><H3>move</H3><PRE>public void <B>move</B>(<A HREF="../../../../org/apache/bcel/generic/InstructionHandle.html">InstructionHandle</A>&nbsp;start,                 <A HREF="../../../../org/apache/bcel/generic/InstructionHandle.html">InstructionHandle</A>&nbsp;end,                 <A HREF="../../../../org/apache/bcel/generic/InstructionHandle.html">InstructionHandle</A>&nbsp;target)</PRE><DL><DD>Take all instructions (handles) from "start" to "end" and append them after the new location "target". Of course, "end" must be after "start" and target must not be located withing this range. If you want to move something to the start of the list use null as value for target.<br> Any instruction targeters pointing to handles within the block, keep their targets.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>start</CODE> - of moved block<DD><CODE>end</CODE> - of moved block<DD><CODE>target</CODE> - of moved block</DL></DD></DL><HR><A NAME="move(org.apache.bcel.generic.InstructionHandle, org.apache.bcel.generic.InstructionHandle)"><!-- --></A><H3>move</H3><PRE>public void <B>move</B>(<A HREF="../../../../org/apache/bcel/generic/InstructionHandle.html">InstructionHandle</A>&nbsp;ih,                 <A HREF="../../../../org/apache/bcel/generic/InstructionHandle.html">InstructionHandle</A>&nbsp;target)</PRE><DL><DD>Move a single instruction (handle) to a new location.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>ih</CODE> - moved instruction<DD><CODE>target</CODE> - new location of moved instruction</DL></DD></DL><HR><A NAME="delete(org.apache.bcel.generic.InstructionHandle)"><!-- --></A><H3>delete</H3><PRE>public void <B>delete</B>(<A HREF="../../../../org/apache/bcel/generic/InstructionHandle.html">InstructionHandle</A>&nbsp;ih)            throws <A HREF="../../../../org/apache/bcel/generic/TargetLostException.html">TargetLostException</A></PRE><DL><DD>Remove instruction from this list. The corresponding Instruction handles must not be reused!<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>ih</CODE> - instruction (handle) to remove</DL></DD></DL><HR><A NAME="delete(org.apache.bcel.generic.Instruction)"><!-- --></A><H3>delete</H3><PRE>public void <B>delete</B>(<A HREF="../../../../org/apache/bcel/generic/Instruction.html">Instruction</A>&nbsp;i)            throws <A HREF="../../../../org/apache/bcel/generic/TargetLostException.html">TargetLostException</A></PRE><DL><DD>Remove instruction from this list. The corresponding Instruction handles must not be reused!<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>i</CODE> - instruction to remove</DL></DD></DL><HR><A NAME="delete(org.apache.bcel.generic.InstructionHandle, org.apache.bcel.generic.InstructionHandle)"><!-- --></A><H3>delete</H3><PRE>public void <B>delete</B>(<A HREF="../../../../org/apache/bcel/generic/InstructionHandle.html">InstructionHandle</A>&nbsp;from,                   <A HREF="../../../../org/apache/bcel/generic/InstructionHandle.html">InstructionHandle</A>&nbsp;to)            throws <A HREF="../../../../org/apache/bcel/generic/TargetLostException.html">TargetLostException</A></PRE><DL><DD>Remove instructions from instruction `from' to instruction `to' contained in this list. The user must ensure that `from' is an instruction before `to', or risk havoc. The corresponding Instruction handles must not be reused!<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>from</CODE> - where to start deleting (inclusive)<DD><CODE>to</CODE> - where to end deleting (inclusive)</DL></DD></DL><HR><A NAME="delete(org.apache.bcel.generic.Instruction, org.apache.bcel.generic.Instruction)"><!-- --></A><H3>delete</H3><PRE>public void <B>delete</B>(<A HREF="../../../../org/apache/bcel/generic/Instruction.html">Instruction</A>&nbsp;from,                   <A HREF="../../../../org/apache/bcel/generic/Instruction.html">Instruction</A>&nbsp;to)            throws <A HREF="../../../../org/apache/bcel/generic/TargetLostException.html">TargetLostException</A></PRE><DL><DD>Remove instructions from instruction `from' to instruction `to' contained in this list. The user must ensure that `from' is an instruction before `to', or risk havoc. The corresponding Instruction handles must not be reused!<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>from</CODE> - where to start deleting (inclusive)<DD><CODE>to</CODE> - where to end deleting (inclusive)</DL></DD></DL><HR><A NAME="contains(org.apache.bcel.generic.InstructionHandle)"><!-- --></A><H3>contains</H3><PRE>public boolean <B>contains</B>(<A HREF="../../../../org/apache/bcel/generic/InstructionHandle.html">InstructionHandle</A>&nbsp;i)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="contains(org.apache.bcel.generic.Instruction)"><!-- --></A><H3>contains</H3><PRE>public boolean <B>contains</B>(<A HREF="../../../../org/apache/bcel/generic/Instruction.html">Instruction</A>&nbsp;i)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setPositions()"><!-- --></A><H3>setPositions</H3>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -