Delete NOP instruction
This plugin is an example of DonQuixote plugin, which deletes NOP (no operation) instruction from every method.
Properties
This plugin has no properties.
Algorithm
- Search a method m which contain NOP instruction.
- Construct control flow cf of method m
- If branches of cf includes a NOP instruction, branch target will be updated to next instruction of the NOP instruction.
- Delete the NOP instruction.