Skip to content

About

XEDParse emulator based on asmjit/asmtk.

Resources

Stars

20 stars

Watchers

3 watching

Forks

Latest commit

 

History

26 Commits

Folders and files

Repository files navigation

asmjit_xedparse

asmjit_xedparse is a wrapper library around asmjit that exposes an XEDParse interface:

enum XEDPARSE_STATUS
{
    XEDPARSE_ERROR = 0,
    XEDPARSE_OK = 1
};
struct XEDPARSE
{
    bool x64; // use 64-bit instructions
    ULONGLONG cip; //instruction pointer (for relative addressing)
    unsigned int dest_size; //destination size (returned by XEDParse)
    CBXEDPARSE_UNKNOWN cbUnknown; //unknown operand callback
    unsigned char dest[XEDPARSE_MAXASMSIZE]; //destination buffer
    char instr[XEDPARSE_MAXBUFSIZE]; //instruction text
    char error[XEDPARSE_MAXBUFSIZE]; //error text (in case of an error)
};

XEDPARSE_STATUS XEDParseAssemble(XEDPARSE* XEDParse);

x64dbg makes use of this DLL for its feature to assemble MASM-like plaintext instructions.

About

XEDParse emulator based on asmjit/asmtk.

Resources

Stars

20 stars

Watchers

3 watching

Forks

Releases

Used by

Contributors

Languages