9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Russ Cox <rsc@swtch.com>
To: lucio@proxima.alt.za,
	Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] realemu update
Date: Mon,  7 Mar 2011 10:03:41 -0500	[thread overview]
Message-ID: <AANLkTikfV7eHfjNCdCrzPqu0933Or0UdLF1VXPfEo5=p@mail.gmail.com> (raw)
In-Reply-To: <20110307144441.GA2862@fangle.proxima.alt.za>

>> huh?  what does libmach (which takes apart executables)
>> have to do with any of this?
>>
> Did I get the wrong impression when I perceived libmach, as released
> with GoLang - cause that's where I looked - seemingly quite capable of
> synthesising as well as analysing binary images?

i think you did.
libmach has routines to read executables and object files (8.out and *.8)
but not to write them.  the programs that write them (8a, 8l, 8c, 8g) all
use custom code, mainly because they have their own internal
representations of the instruction stream, tailored to the kinds of
annotations they need.  8l even has its own reader for *.8 files,
for much the same reason.

russ


  reply	other threads:[~2011-03-07 15:03 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-05  6:49 cinap_lenrek
2011-03-06  7:35 ` Lucio De Re
2011-03-06 18:48   ` cinap_lenrek
2011-03-07  4:21     ` Lucio De Re
2011-03-07 10:39       ` cinap_lenrek
2011-03-07 11:07         ` Lucio De Re
2011-03-07 11:50           ` cinap_lenrek
2011-03-07 12:23         ` erik quanstrom
2011-03-07 12:39           ` Lucio De Re
2011-03-07 14:19           ` Russ Cox
2011-03-07 14:44             ` Lucio De Re
2011-03-07 15:03               ` Russ Cox [this message]
2011-03-08 10:45                 ` Stanley Lieber
2011-03-08 11:10                 ` Stanley Lieber
2011-03-08  7:42                   ` cinap_lenrek at gmx.de

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTikfV7eHfjNCdCrzPqu0933Or0UdLF1VXPfEo5=p@mail.gmail.com' \
    --to=rsc@swtch.com \
    --cc=9fans@9fans.net \
    --cc=lucio@proxima.alt.za \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).