Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Mar 2002 13:18:52 -0000 
From:      Mike Dewhirst <Dewhirst.M@UCLES.org.uk>
To:        freebsd-questions@FreeBSD.ORG
Subject:   RE: c-shell scripts
Message-ID:  <0B0368CED76DD4118E1200D0B73E9B5D041E9F27@MAIL1>

next in thread | raw e-mail | index | archive | help
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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Diso-8859-=
1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version 5.5.2653.12">
<TITLE>RE: c-shell scripts</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>the last 10 lines...</FONT>
</P>

<P><FONT SIZE=3D2>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.</FONT></P>

<P><FONT SIZE=3D2>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.</FONT></P>

<P><FONT SIZE=3D2>result of tail -10:</FONT>
</P>

<P><FONT SIZE=3D2>=FF=FF=FF=FF=FC=FF=FF=FF=FF=FF=FF=FF=FF@&nbsp; @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&nbsp;&nbsp;&nbsp;&nbsp; p</FONT></P>

<P><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp; 7=E47=E4&amp;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</FONT>
</P>

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

<CODE><FONT SIZE=3D3><BR>
<BR>
=3D**********************************************************<BR>
<BR>
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.<BR>
<BR>
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.<BR>
<BR>
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>
<BR>
This footnote also confirms that this email message has been swept by<BR>
MIMEsweeper for the presence of computer viruses although this does not gua=
rantee that this email is virus free.<BR>
<BR>
**********************************************************=3D<BR>
</FONT></CODE>
</BODY>
</HTML>
------_=_NextPart_001_01C1C6A3.CACAC5E0--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0B0368CED76DD4118E1200D0B73E9B5D041E9F27>