Mark Charney

Results 84 comments of Mark Charney

1) encoder does not use att syntax. The encoder uses its own syntax. The new asmparse syntax is closer to a real assembler syntax but still a work in progress....

For the most part, iclasses are how most of us think about instructions. The rep/lock forms of stuff complicate that simple picture. Aliased encodings also complicate that picture. Did you...

xed_format_context() and xed_format_generic() allow users to pass a runtime address to use in generating the disassembly. See xed-decoded-inst-api.h. The latter function takes a structure defined in xed-print-info.h.

For creating instructions, there are many options. See the xed-asmparse.c and .h files in the examples. There is also a new encoder called enc2. I have some fixes that I...

Yes, xed-asmparse.c is a simple example. It would take a small amount of restructuring to allow it to handle multiple requests, separated by a semicolon or a newline character. Right...

I just tweaked it in my workspace to use a semicolon as a separator. I will look for a moment to push out my commits. ``` % obj/wkit/bin/xed-asmparse-main -64 -q...

I guess the next step would be allowing labels and trying to get the branch displacements right.

thx for reporting this. i will take a look

I just did a big push of 181 commits. I tried your build (using win10, MSVS, not WSL) but I get a different error (based on MSVS compiler, some unused...

I don't have WSL installed, but I compile on ubuntu all the time w/gcc. Please update and try again. Let me know if you continue to have issues.