Re: [BLACKBOX] Tool to generate x86 assembly or hex object code from OCF file

From: [at]} <Chris>
Date: Tue, 27 Mar 2012 22:44:25 +1030

----boundary-LibPST-iamunique-1639712616_-_-
Content-type: text/plain

>-----Original Message-----
>From: BlackBox [mailto:BLACKBOX{([at]})nowhere.xy
>Carl Glassberg
>Sent: Tuesday, 27 March 2012 2:36 AM
>To: BLACKBOX{([at]})nowhere.xy
>Subject: [BLACKBOX] Tool to generate x86 assembly or hex
>object code from OCF file
>
>Hello:
>
>Sorry about the empty posting.
>
>I would like to open an OCF file created from the BB compiler
>when run on one of the BB programs I wrote, and then run a
>tool to generate either an x86 assembly equivalent listing or
>alternatively just the Intel object code byte equivalent. The
>high level source ODC file would be available.
>
>Is there an object decoder or disassembler tool available for
>this purpose?
>
>Already, if you right click on an open OCF file, BB does give
>some informstion about the object code file.
>
>Is the code file OCF in a standard format or can it be
>transformed to a standard format?
>

I don't know of a tool to disassemble the OCF file format. However, a
round-about way that might work is to first convert it into an ELF format
DLL using DevElfLinker (the linker that was made available some time ago for
creating Linux Shared Object libraries) and then use a tool (e.g. ObjDump)
that can disassemble ELF format files.

You can download DevElflinker from the Linux section of the OpenBugs site:

http://www.openbugs.info/w/LinBUGS

Regards,
Chris Burrows
CFB Software

Astrobe: Cortex-M3 and ARM7 Oberon Development
http://www.astrobe.com


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1639712616_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE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ZSBPcGVuQnVncyBzaXRlOlxwYXINClxwYXINCmh0dHA6Ly93d3cub3BlbmJ1Z3Mu
aW5mby93L0xpbkJVR1NccGFyDQpccGFyDQpSZWdhcmRzLFxwYXINCkNocmlzIEJ1cnJvd3NccGFy
DQpDRkIgU29mdHdhcmVccGFyDQpccGFyDQpBc3Ryb2JlOiBDb3J0ZXgtTTMgYW5kIEFSTTcgT2Jl
cm9uIERldmVsb3BtZW50XHBhcg0KaHR0cDovL3d3dy5hc3Ryb2JlLmNvbVxwYXINClxwYXINClxw
YXINCi0tLS1ccGFyDQpUbyB1bnN1YnNjcmliZSwgc2VuZCBhIG1lc3NhZ2Ugd2l0aCBib2R5ICJT
SUdOT0ZGIEJMQUNLQk9YIiB0byBMSVNUU0VSVkBMSVNUUy5PQkVST04uQ0hcfX0ASU5D
----boundary-LibPST-iamunique-1639712616_-_---
Received on Tue Mar 27 2012 - 14:14:25 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:06 UTC