Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Very basic REP+MOVS support #104

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Dec 31, 2019

  1. Very basic REP+MOVS support

    Handcrafted support for REP+MOVS
    
    I am not super into the generators, so some of the code is handcrafted to do a POC.
    
    With this I am able to get correct registers and encoding:
    
    ```
    	x := reg.RCX
    	src, dst := reg.RSI, reg.RDI
    	XORQ(x, x)
    	LEAQ(a, src)
    	LEAQ(b, dst)
    	REP(x)
    	MOVSB(src, dst)
    ```
    klauspost committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    fe8ad57 View commit details
    Browse the repository at this point in the history