From owner-freebsd-questions Fri Mar 8 5:21:27 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail3.ucles.org.uk (mail3.ucles.org.uk [192.149.119.13]) by hub.freebsd.org (Postfix) with ESMTP id 6F0B137B404 for ; Fri, 8 Mar 2002 05:21:17 -0800 (PST) Received: from mail3.ucles.org.uk (unverified) by mail3.ucles.org.uk (Content Technologies SMTPRS 4.2.5) with ESMTP id for ; Fri, 8 Mar 2002 13:18:35 +0000 Received: by forest.nrl.navy.mil with Internet Mail Service (5.5.2653.19) id ; Fri, 8 Mar 2002 13:18:35 -0000 Message-ID: <0B0368CED76DD4118E1200D0B73E9B5D041E9F27@MAIL1> From: Mike Dewhirst To: freebsd-questions@FreeBSD.ORG Subject: RE: c-shell scripts Date: Fri, 8 Mar 2002 13:18:52 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C1C6A3.CACAC5E0" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C1C6A3.CACAC5E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable the last 10 lines... The docs say that we should use C shell scripts to write extension modules, but these don't look like it, do they? I'm guessing they're not c shell scripts at all, but rather compiled binaries. If somebody could suggest a decompiler (yes Jan, I'm prepared for the hard to understand results, but something is _always_ better than nothing :) ) I would be very greatful. result of tail -10: =FF=FF=FF=FF=FC=FF=FF=FF=FF=FF=FF=FF=FF@ @A.interp.MIPS.options.reginfo.dynamic.liblist.dynstr.hash.dynsym.MIPS.symli b.msym.MIPS.stubs.text.init.rodata.data.got.sbss.sdata.srdata.lit8.lit4.bss. MIPS.events.init.MIPS.post_rel.text.MIPS.events.text.MIPS.content.sdata.MIPS .content.data.MIPS.content.rodata.debug_info.debug_pubnames.d0p=B0=B0 =C8)p=E0=E0P200X@aranges.debug_funcnames.debug_abbrev.debug_frame.comment.M= IPS.int erfaces.shstrtab p 7=E47=E4&Hp ]=F4]=F4Up`X[s`s=ECg|L|L|m=C8=C8s =D0=D0=B8XXP= =A7=A1=A7=A0=A7=A0=A7=B0=A7Uv=B0Q=A7 > -----Original Message----- > From: Paul Everlund [mailto:tdv94ped@cs.umu.se] > Sent: 08 March 2002 12:53 > To: Mike Dewhirst > Cc: freebsd-questions@FreeBSD.ORG > Subject: Re: c-shell scripts >=20 >=20 > > is it possible to decompile c shell scripts? > > > > we are developing some software extension modules, and the=20 > docs are pretty > > crap, so we're trying to do by example... Except examples=20 > are compiled c > > scripts... Or am I talking a load of bull****? > > > > Any help/advice greatly appreciated. >=20 > I've learnt to not be sure of everything, so I'm not 100%=20 > sure about this > either, but... Shell scripts are not compiled in any way=20 > (maybe when it's > interpreted by the shell, but not the script itself.) Can you send an > example of it? Some rows from it maybe? >=20 > Best regards, > Paul >=20 =3D********************************************************** If you are not the intended recipient, employee or agent responsible for de= livering the message to the intended recipient, you are hereby notified tha= t any dissemination or copying of this communication and its attachments is= strictly prohibited. If you have received this communication and its attachments in error, pleas= e return the original message and attachments to the sender using the reply= facility on e-mail. Internet communications are not secure and therefore the UCLES Group does n= ot accept legal responsibility for the contents of this message. Any views= or opinions presented are solely those of the author and do not necessaril= y represent those of the UCLES Group unless otherwise specifically stated. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses although this does not gua= rantee that this email is virus free. **********************************************************=3D ------_=_NextPart_001_01C1C6A3.CACAC5E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: c-shell scripts

the last 10 lines...

The docs say that we should use C shell scripts to write = extension modules, but these don't look like it, do they? I'm guessing they= 're not c shell scripts at all, but rather compiled binaries.

If somebody could suggest a decompiler (yes Jan, I'm prep= ared for the hard to understand results, but something is _always_ better t= han nothing :) ) I would be very greatful.

result of tail -10:

=FF=FF=FF=FF=FC=FF=FF=FF=FF=FF=FF=FF=FF@  @A.interp.= MIPS.options.reginfo.dynamic.liblist.dynstr.hash.dynsym.MIPS.symlib.msym.MI= PS.stubs.text.init.rodata.data.got.sbss.sdata.srdata.lit8.lit4.bss.MIPS.eve= nts.init.MIPS.post_rel.text.MIPS.events.text.MIPS.content.sdata.MIPS.conten= t.data.MIPS.content.rodata.debug_info.debug_pubnames.d0p=B0=B0 =C8)p=E0=E0P= 200X@aranges.debug_funcnames.debug_abbrev.debug_frame.comment.MIPS.interfac= es.shstrtab     p

         &nb= sp;     7=E47=E4&Hp ]=F4]=F4Up`X[s`s=ECg|L|L|m=C8= =C8s =D0=D0=B8XXP=A7=A1=A7=A0=A7=A0=A7=B0=A7Uv=B0Q=A7

> -----Original Message-----
> From: Paul Everlund [mailto:tdv94ped@cs.umu.se]
> Sent: 08 March 2002 12:53
> To: Mike Dewhirst
> Cc: freebsd-questions@FreeBSD.ORG
> Subject: Re: c-shell scripts
>
>
> > is it possible to decompile c shell scripts?
> >
> > we are developing some software extension modu= les, and the
> docs are pretty
> > crap, so we're trying to do by example... Exce= pt examples
> are compiled c
> > scripts... Or am I talking a load of bull****?=
> >
> > Any help/advice greatly appreciated.
>
> I've learnt to not be sure of everything, so I'm no= t 100%
> sure about this
> either, but... Shell scripts are not compiled in an= y way
> (maybe when it's
> interpreted by the shell, but not the script itself= .) Can you send an
> example of it? Some rows from it maybe?
>
> Best regards,
> Paul
>



=3D**********************************************************

If you are not the intended recipient, employee or agent responsible for de= livering the message to the intended recipient, you are hereby notified tha= t any dissemination or copying of this communication and its attachments is= strictly prohibited.

If you have received this communication and its attachments in error, pleas= e return the original message and attachments to the sender using the reply= facility on e-mail.

Internet communications are not secure and therefore the UCLES Group does n= ot accept legal responsibility for the contents of this message. Any views= or opinions presented are solely those of the author and do not necessaril= y represent those of the UCLES Group unless otherwise specifically stated.<= BR>
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses although this does not gua= rantee that this email is virus free.

**********************************************************=3D
------_=_NextPart_001_01C1C6A3.CACAC5E0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message