Module decoder and disassembler

Usage of the framework, compiler and tools

Module decoder and disassembler

Postby X512 » Sun Nov 20, 2016 5:17 am

Some time ago I found module decoder and disassembler in "linref" distribution. It allows decoding BlackBox ocf and Windows PE EXE files and can disassemble 68k, i486, ARM, PPC and SH3 CPU machine code.
Attachments
Decoder.txt
(96.96 KiB) Downloaded 274 times
X512
 
Posts: 43
Joined: Sat Feb 07, 2015 2:51 pm

Re: Module decoder and disassembler

Postby X512 » Sun Nov 20, 2016 5:39 am

This decoder can be used instead of default ocf decoder. It handles fixups, type information and trap opcodes. Current disassembler don't handle fixups, so most addresses in code are wrong. Fixups are information that defines how to correct addresses in code, descriptors etc. that depends on actual section load base or import object address. Details are in "Dev\Spec\ObjFile.odc".
X512
 
Posts: 43
Joined: Sat Feb 07, 2015 2:51 pm

Re: Module decoder and disassembler

Postby Ivan Denisov » Sun Nov 20, 2016 7:53 pm

There is also some version from Trurl
http://oberoncore.ru/bbcc/subs/dev/decoder
I did not compare with your version yet.
User avatar
Ivan Denisov
 
Posts: 283
Joined: Tue Sep 17, 2013 12:21 am
Location: Krasnoyarsk, Russia

Re: Module decoder and disassembler

Postby X512 » Mon Nov 21, 2016 5:05 am

Ivan Denisov wrote:There is also some version from Trurl
http://oberoncore.ru/bbcc/subs/dev/decoder
I did not compare with your version yet.

It seems to be based on version in this topic. It is adapted for BlackBox 1.6. Output format differs a bit.
Topic version crash sometimes in meta or desc decoding, probably due format changes. I disabled desc decoding to prevent crash.
X512
 
Posts: 43
Joined: Sat Feb 07, 2015 2:51 pm


Return to Common questions

Who is online

Users browsing this forum: No registered users and 2 guests

cron