Description
Currently, there are a lot of noisy gadgets in reg_setter. (such as pop rbp; add dh, dh; ret when there is pop rbp; ret. This is caused by the need to do basic register arithmetic. This is slowing us down when we need to try different gadgets.
Moving the register arithmetic logic out of RegSetter will make it cleaner and we will have the chance of doing register arithmetic properly
Alternatives
No response
Additional context
No response