![]() |
|
|
|
#1
|
|||
|
|||
|
Enigma,
Have you tried linking the c library in delphi and using external far calls? Here is a good article. http://rvelthuis.de/articles/articles-cobjs.html Duuno if there are 64bit restrictions. Just link the .LIB file into your delphi source. This might need some tweaking. Code:
{$LINK 'distorm.lib'}
function distorm_decode64(codeOffset: LongInt;code:pchar; codeLen: Integer;DecodeType:shortint; DecodeRestult : array of _DecodedInst; maxInstructions:integer; var usedInstructionsCount:integer) : Integer; cdecl; external;
|
| The Following User Says Thank You to redbull For This Useful Post: | ||
Indigo (07-19-2019) | ||
|
#2
|
|||
|
|||
|
hi redbull, thanks for useful post...
But I need to compile disasm in FreePascal x64, your example will work only in 32b Delphi... I'm not sure that FPC allows to link x64 libs... I thought that there maybe are some open sources disasms written in pascal, so it will be very easy to embed it to my project.. But seems there is no.. |
| The Following User Says Thank You to Enigma For This Useful Post: | ||
Indigo (07-19-2019) | ||
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What's the best VB Disassembler | Android | General Discussion | 2 | 06-06-2010 04:23 |
| Basic Disassembler for Delphi port of Micro Length-Disassembler Engine 32 | redbull | General Discussion | 0 | 11-04-2005 04:56 |