Found

class Found(origin: InsnList, first: AbstractInsnNode, last: AbstractInsnNode) : InsnTarget(source)

An acitve implementation of InsnTarget used for successfully located targets.

Constructors

Link copied to clipboard
constructor(origin: InsnList, first: AbstractInsnNode, last: AbstractInsnNode)

Functions

Link copied to clipboard
open override fun find(index: Int): AbstractInsnNode

Find an insn node in this target at a specific index

Link copied to clipboard
open override fun insert(offset: Int, block: TargetedAssembly.() -> Unit)

Insert instructions at the first insn node in this target.

Link copied to clipboard
open override fun insertAfter(offset: Int, block: TargetedAssembly.() -> Unit)

Insert instructions after the last insn node in this target.

Link copied to clipboard
open override fun insertBefore(offset: Int, block: TargetedAssembly.() -> Unit)

Insert instructions before the target.