Permalink
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (16 sloc) 756 Bytes

XEDParse

Build status

XEDParse is a library to parse MASM-like plaintext instructions to the XED instruction format. The library is meant to have quick access to assembly in certain low-level programs (such as debuggers).

Currently finished:

  • Parsing instructions to an internal data structure
  • Translate the instruction base to XED2
  • Translate registers to XED2
  • Encode the translated structure
  • Translate values
  • Translate memory arguments

Todo:

  • Handle instructions with more than two operands correctly

Currently the parser can be considered reasonably fast, parsing about 200,000 instructions in 1.5 seconds.