jawa.transforms.simple_swap module

jawa.transforms.simple_swap.simple_swap(ins: jawa.util.bytecode.Instruction) → jawa.util.bytecode.Instruction[source]

Replaces one instruction with another based on the transform rules in the bytecode definitions file.

Parameters:ins – Instruction to potentially modify.
Returns:Potentially modified instruction.