zydis-pascal
zydis-pascal copied to clipboard
Updating Zydis-Pascal to the latest Zydis version
This work is still in progress.
I'm converting the code based on the examples ^_^ So, all structs and APIs converted are the ones that are needed for the examples to work.
I'll update this based on examples till I convert all of them, and then I will add any other needed APIs.
Thanks a lot for your work! I've not been using Delphi/Pascal for a while and definitely would not have been able to design the updated bindings in such a nice and compatible way.
I left a few (rather minor) comments and suggestions 🙂
You are welcome ^_^, And thanks for your kind words.
@flobernd
I added EncodeFromScratch example and needed Types and APIs.
I tested all three examples on Windows & Linux - x64.
I moved all Types from Disassembler, Decoder, and Formatter Units to new Units;
5291745
49adc6f
447f253
this way, we can use them for high-level implementation.
Now, all examples are Delphi compatible. And compiles for Linux with FPC.
@flobernd
You can merge this pull request, and I'll open a new one for the other examples and updates.