Hi, I have a quick question here, hopefully will get quick answer: How do I write out exported procedures with parameters from object file using AOS ? Thanks in advance Zdenek
Zdenek, What do you mean by "write out"? What do you mean by "from object file"? The object file contains the compiled form of the source code. Are you asking to disassemble that code and create a human readable file corresponding to the source code? -Doug Danforth On 5/24/2015 2:01 AM, oberon@moravcik.info wrote:
Hi, I have a quick question here, hopefully will get quick answer: How do I write out exported procedures with parameters from object file using AOS ?
Thanks in advance Zdenek
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
Hi, I think Zdenek wants to know the structure of the object file, that generated by the Oberon compiler, to extract the exported procedures/functions and its prameters into the file or the console. Gábor 2015-05-24 11:38 GMT+02:00 Douglas G. Danforth <danforth@greenwoodfarm.com>:
Zdenek, What do you mean by "write out"? What do you mean by "from object file"? The object file contains the compiled form of the source code. Are you asking to disassemble that code and create a human readable file corresponding to the source code? -Doug Danforth
On 5/24/2015 2:01 AM, oberon@moravcik.info wrote:
Hi, I have a quick question here, hopefully will get quick answer: How do I write out exported procedures with parameters from object file using AOS ?
Thanks in advance Zdenek
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
-- ============================================ "Share what you know. Learn what you don't."
Something I get when using "Watson.ShowDef Items" in Oberon. See http://www.ethoberon.ethz.ch/ethoberon/tutorial/Watson.html z. On Sun, May 24, 2015 at 02:38:04AM -0700, Douglas G. Danforth wrote:
Zdenek, What do you mean by "write out"? What do you mean by "from object file"? The object file contains the compiled form of the source code. Are you asking to disassemble that code and create a human readable file corresponding to the source code? -Doug Danforth
On 5/24/2015 2:01 AM, oberon@moravcik.info wrote:
Hi, I have a quick question here, hopefully will get quick answer: How do I write out exported procedures with parameters from object file using AOS ?
Thanks in advance Zdenek
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
The Oberon Definition Browser is in Compiler.Tool: Browser.ShowDef ^ Browser.ShowDef \e ^ Browser.ShowDef \d ^ Browser Options: \e: expand types \d: show detailed information (entry numbers, offsets, keys, etc) Regards, Chris Burrows CFB Software http://www.cfbsoftware.com
-----Original Message----- From: oberon@moravcik.info [mailto:oberon@moravcik.info] Sent: Sunday, 24 May 2015 8:21 PM To: ETH Oberon and related systems Subject: Re: [Oberon] Exported procedures in object file
Something I get when using "Watson.ShowDef Items" in Oberon. See http://www.ethoberon.ethz.ch/ethoberon/tutorial/Watson.html
z.
On Sun, May 24, 2015 at 02:38:04AM -0700, Douglas G. Danforth wrote:
Zdenek, What do you mean by "write out"? What do you mean by "from object file"? The object file contains the compiled form of the source code. Are you asking to disassemble that code and create a human readable file corresponding to the source code? -Doug Danforth
On 5/24/2015 2:01 AM, oberon@moravcik.info wrote:
Hi, I have a quick question here, hopefully will get quick
answer: How do I write out exported procedures with parameters from object file using AOS ?
Thanks in advance Zdenek
Decoder.Open xy.Obj ~ Jörg
Am 24.05.2015 um 11:01 schrieb <oberon@moravcik.info> <oberon@moravcik.info>:
Hi, I have a quick question here, hopefully will get quick answer: How do I write out exported procedures with parameters from object file using AOS ?
Thanks in advance Zdenek
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
How do I write out exported procedures with parameters from object file using AOS ?
? "write out": * to live execute <- no: export is not applicable. * to compile <- yes apparently. Required parameters are contained in *.Obj. [wily for linux based on plan9 - copied from ETHO; is good for these lisp-like tricks] A most simple <parameter> from *.Obj could be <size of *.Obj> But let's go deeper. Here we see the weakness of OberonCode: why don't/can't we ever use: PROC XprtedProc(FileSize(Fl1) - FileSize(Fl2) + Count(Ret,Fl1)): Magic; where Count(Ret,Fl1) is the count of the <ret instruction> in *.Obj, obtained via: Decoder.Open Fl1.Obj == Chris Glur.
Or use FoxBinarySymbolFile.Test xy ~ This command writes out the public interface that is stored together with the code of xy in its object file. Regards Felix
Decoder.Open xy.Obj ~
Jörg
Am 24.05.2015 um 11:01 schrieb <oberon@moravcik.info> <oberon@moravcik.info>:
Hi, I have a quick question here, hopefully will get quick answer: How do I write out exported procedures with parameters from object file using AOS ?
Thanks in advance Zdenek
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
Hi Jörg, this opens window with list of procedures in object file. After clicking on procedure name it shows addresses, assembler instructions ... Any way to show which procedures are exported from this module and what are the procedure parameters? (for the case there is only object file available and module text file is missing) Zdenek On Sun, May 24, 2015 at 06:04:54PM +0200, Jörg Straube wrote:
Decoder.Open xy.Obj ~
Jörg
Am 24.05.2015 um 11:01 schrieb <oberon@moravcik.info> <oberon@moravcik.info>:
Hi, I have a quick question here, hopefully will get quick answer: How do I write out exported procedures with parameters from object file using AOS ?
Thanks in advance Zdenek
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
Zdenek FoxBinarySymbolFile.Test xy ~ br Jörg -----Original Message----- From: oberon@moravcik.info [mailto:oberon@moravcik.info] Sent: Dienstag, 26. Mai 2015 14:03 To: ETH Oberon and related systems Subject: Re: [Oberon] Exported procedures in object file Hi Jörg, this opens window with list of procedures in object file. After clicking on procedure name it shows addresses, assembler instructions ... Any way to show which procedures are exported from this module and what are the procedure parameters? (for the case there is only object file available and module text file is missing) Zdenek On Sun, May 24, 2015 at 06:04:54PM +0200, Jörg Straube wrote:
Decoder.Open xy.Obj ~
Jörg
Am 24.05.2015 um 11:01 schrieb <oberon@moravcik.info> <oberon@moravcik.info>:
Hi, I have a quick question here, hopefully will get quick answer: How do I write out exported procedures with parameters from object file using AOS ?
Thanks in advance Zdenek
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
participants (8)
-
Chris Burrows -
Douglas G. Danforth -
eas lab -
Felix Friedrich -
Jörg -
Jörg Straube -
Légrádi Gábor -
oberon@moravcik.info