intelxed / xed

The X86 Encoder Decoder (XED), is a software library for encoding and decoding X86 (IA32 and Intel64) instructions
https://intelxed.github.io/
Apache License 2.0
1.42k stars 148 forks source link

Please add xed_utils to the Community Extensions page and a related request #337

Open ctchou opened 3 weeks ago

ctchou commented 3 weeks ago

xed_utils provides several Python scripts for organizing and displaying the x86 instruction encoding information contained in Intel XED, including an x86 opcode map generator:

https://github.com/ctchou/xed_utils

Could you add a pointer to it to the Community Extensions page?

https://github.com/intelxed/xed/wiki/Community-Extensions-for-Intel-XED#contributing-to-this-page

I also have a related request: Would it be possible to add an option to xed/mfile.py to terminate XED build immediately after all relevant data files have been collected into obj/dgen? This would remove the dependence on the C compiler from a tool like xed_utils which only needs the files in obj/dgen.

Thanks in advance!

marjevan commented 3 weeks ago

Thanks for contributing to the XED community extensions page (and project)! It would be a great addition to the XED community.

To stop after the dgen generation phase, please use the just-prep script's argument (not trivial, I know...):

$ python3 ./mfile.py just-prep
ctchou commented 3 weeks ago

Thanks! I didn't know that.

I have updated xed_utils/README.md to use "just-prep".