#1
|
|||
|
|||
x64 Disassembler
Guys, could anyone suggest x64 disassembler written in Dephi (pascal)?
Maybe just simple disasm, or at least length disasm. Engines written in assembler could be also suggested.. one of such I saw in the main thread, BeaEngine... Thanks! |
The Following User Says Thank You to Enigma For This Useful Post: | ||
Indigo (07-19-2019) |
#4
|
|||
|
|||
There comes one with the fdbg package (in fasm, only for non-commercial use).
Latest version is here: Quote:
|
The Following User Says Thank You to lena151 For This Useful Post: | ||
Indigo (07-19-2019) |
#5
|
|||
|
|||
lena151 thanks, it is much closer to the stuff that I want, but it's sources are realy huge.. I wanna something more simple... moreover it is not for commercial use..
Do you use this engine in your Larp? |
The Following User Says Thank You to Enigma For This Useful Post: | ||
Indigo (07-19-2019) |
#6
|
|||
|
|||
As lARP is a commercial protection system (I can only assume you're referring to lARP64), probably not. Thought she might have done so for x86 lARP, that's up to her to answer.
Where's the problem with C code anyway? It should be pretty easy to convert it to Delphi/Pascal. Hde64 is written in C as well, if you'd like to have a look (which is worth the risk, I guess ). |
The Following User Says Thank You to metr0 For This Useful Post: | ||
Indigo (07-19-2019) |
#7
|
|||
|
|||
Quote:
Like metr0 says, indeed not, for neither version though its sources gave me a few ideas and are recommendable to anybody who wants to venture in 64bit assembler. Feryno took the time to comment them meticulously, maybe they earn a place in Evilcry's webpointers topic (?) Slightly off-topic but the debugger itself has become pretty neat too since the last updates lena151. |
The Following User Says Thank You to lena151 For This Useful Post: | ||
Indigo (07-19-2019) |
#8
|
|||
|
|||
Quote:
Rewrite C to Pascal, oh, nice idea, but I do not want to spend my time to develop a bicycle, when it is already developed... Just interesting to know, about what debugger you are talking? |
The Following User Says Thank You to Enigma For This Useful Post: | ||
Indigo (07-19-2019) |
#9
|
|||
|
|||
I think she talks about fdbg itself (link here), a x64 debugger.
Thanks for the notice on the commercial part, didn't think about fees and the like. As for the Pascal thing, I'm not sure if there's one (no popular example coming to my mind), but you might want to try to contact SuperCracker as I remember him writing a disassembly engine in Delphi hell of a time ago (didn't hear any news though). |
The Following User Says Thank You to metr0 For This Useful Post: | ||
Indigo (07-19-2019) |
#10
|
|||
|
|||
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) |
#11
|
|||
|
|||
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) |
#12
|
|||
|
|||
Yo Yo,
Did you see the posting about the new BEADissasembler It comes with a delphi lib and does 64 bit. (Have not confirmed it myself). Newest release yesterday http://beatrix2004.free.fr/BeaEngine/index1.php |
The Following User Says Thank You to redbull For This Useful Post: | ||
Indigo (07-19-2019) |
#13
|
|||
|
|||
Thanks redbull, I've already seen this engine!
Seems you are right, I will try to make something magic with lib (or obj) and compile it with Free Pascal! |
The Following User Says Thank You to Enigma For This Useful Post: | ||
Indigo (07-19-2019) |
#14
|
|||
|
|||
Quote:
sharing |
The Following User Says Thank You to iconstart For This Useful Post: | ||
Indigo (07-19-2019) |
#15
|
|||
|
|||
Or you can take a look at Cheat Engine source code. Everything except for the kernel driver was written in Free Pascal.
|
Thread Tools | |
Display Modes | |
|
|
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 |