zydis-pascal icon indicating copy to clipboard operation
zydis-pascal copied to clipboard

Updating Zydis-Pascal to the latest Zydis version

Open Coldzer0 opened this issue 2 years ago • 4 comments

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.

Coldzer0 avatar Oct 31 '23 10:10 Coldzer0

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.

Coldzer0 avatar Oct 31 '23 19:10 Coldzer0

@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.

Coldzer0 avatar Nov 01 '23 15:11 Coldzer0

Now, all examples are Delphi compatible. And compiles for Linux with FPC.

Coldzer0 avatar Nov 02 '23 09:11 Coldzer0

@flobernd

You can merge this pull request, and I'll open a new one for the other examples and updates.

Coldzer0 avatar Nov 10 '23 14:11 Coldzer0