Sreekumar wrote:
Hi All,

I came across dehydra, and I was very interested in trying it out. I
hit a problem when installing treehydra, which I have detailed below.

My machine is ubuntu 8.08. I got gcc.4.3.0 patched and compiled.  I
got dehydra compiled fine and got some test scripts working. I read
through the scripts in the test directory and found that for analyzing
C++ files, I need to install treehydra (I hope my interpretation is
correct).
Actually dehydra only works on C++ at the moment, so if you want to look at class declarations/etc it'll work great. It is likely that you want treehydra if you will be looking at function bodies in any amount of detail.

When I tried to install treehydra, the make file complained
that I need spidermonkey version 1.8. I could not find spidermonkey
1.8 in the mozilla website. I could only find spidermonkey 1.7 in the
location specified in the installation instructions of dehydra. Can
someone point me to where I can get it?
I usually use spidermonkey from current mozilla trunk. Install mercurial, do
hg clone http://hg.mozilla.org/mozilla-central
#optinally copy spidermonkey out of the moz tree
cp -R mozilla-central/js/src spidermonkey-trunk

or you can build spidermonkey in js/src subdirectory ...make -f Makefile.ref, etc

Hope this helps,
Taras
_______________________________________________
dev-static-analysis mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-static-analysis

Reply via email to