True, but apparently some things were compiled statically. There's far
less external libraries in the GNU/Linux version.
That is probably the case of js32.dll. You can see the function calls
inside the fcserver binary by dumping the printable strings in the
file.
$ strings fcserver | grep '^js*'
js_DateGetHours
js_CurrentThreadId
js_defineGetter_str
js_NumberToString
js_ReportIsNotFunction
js_NewRegExpObject
js_GetDependentStringChars
js_AddRoot
js_InitArrayClass
js_UnlockScope
Then by grepping, say, "js_NumberToString" in the original Mozilla
inside their source package
(http://ftp.mozilla.org/pub/mozilla.org/js/js-1.5-rc6a.tar.gz), take a
look what you get:
$ grep -Ri 'js_NumberToString' *
src/jsOS240.def:; js_NumberToString
src/jsarray.c: str = js_NumberToString(cx, (jsdouble)length);
src/jsinterp.c: str = js_NumberToString(cx, (jsdouble)
JSVAL_TO_INT(rval));
src/jsnum.c: str = js_NumberToString(cx, d);
src/jsnum.c:js_NumberToString(JSContext *cx, jsdouble d)
src/jsnum.h:js_NumberToString(JSContext *cx, jsdouble d);
src/jsparse.c: JSString *str = js_NumberToString(cx,
pn->pn_dval);
src/jsstr.c: str = js_NumberToString(cx, JSVAL_TO_INT(v));
src/jsstr.c: str = js_NumberToString(cx, *JSVAL_TO_DOUBLE(v));
src/win32.order:js_NumberToString ; 2407
There's the guilty. That's so fucked up =( now unless somebody can
patch the fcserver binary, it just won't happen.
--
Julio C. Ody
http://rootshell.be/~julioody
On 5/31/05, Jake Hilton <jhilton-Et1tbQHTxzrQT0dZR+AlfA@xxxxxxxxxxxxxxxx> wrote:
> The install puts all the files in /opt/macromedia/fcs by default. That uses
> the same directory structure, as far as layout, that windows does.
>
> Great job btw!
>
> Jake
>
>
> >>> dazlee4-PkbjNfxxIARBDgjK7y7TUQ@xxxxxxxxxxxxxxxx 05/31/05 3:02 am>>>
> :S I am not familiar with the lynux flashcom or the lynux file system but I
> just downloaded the developer edition for lynux and if you look in fcserver
> file you will see methods like
> js_DoubleToECMAInt32
> JS_DefineProperty
>
> etc these are the methods in js32.dll, either this file has headers for it or
> its all just stuck inside this, go figure :S sorry I cant be of any more help
> ----- Original Message -----
> From: Julio Cesar
> Ody<mailto:julioody-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx>
> To: FlashComm Mailing
> List<mailto:flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@xxxxxxxxxxxxxxxx>
> Sent: Tuesday, May 31, 2005 1:07 AM
> Subject: Re: [FlashComm] FC File System
>
>
> I was thinking about porting this to the Linux version, but then I
> decided to take a look at the Linux Flashcom's directory tree, and I
> realized it isn't there.
>
> Is it inside some other extension in the operating system? Does
> anybody have any info on that?
>
>
>
> On 5/31/05, daz lee
> <dazlee4-PkbjNfxxIARBDgjK7y7TUQ@xxxxxxxxxxxxxxxx<mailto:dazlee4-PkbjNfxxIARBDgjK7y7TUQ@xxxxxxxxxxxxxxxx>>
> wrote:
> > since a few of u have downloaded jsapi.c i should also proably point out
> > whenever you use JS_DefineObject you need to incriment the int
> > ObjectOverload = 5; at the top by 1
> >
> > atm its 5, thats Math, Server, Application, FileSystem and Directory. :)
> >
> >
> >
> > =-----------------------------------------------------------
> > Supported by Fig Leaf Software -
> http://www.figleaf.com<http://www.figleaf.com/>
> > =-----------------------------------------------------------
> >
> > To change your subscription options or search the archive:
> >
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm<http://chattyfig.figleaf.com/mailman/listinfo/flashcomm>
> >
>
>
> --
> Julio C. Ody
> http://rootshell.be/~julioody<http://rootshell.be/~julioody>
>
> =---------------------------------------------------------
> Supported by Fig Leaf Software -
> http://www.figleaf.com<http://www.figleaf.com/>
> =---------------------------------------------------------
>
> To change your subscription options or search the archive:
>
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm<http://chattyfig.figleaf.com/mailman/listinfo/flashcomm>
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
>
> -----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> -----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
|