You can subscribe to this list here.
2008 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2009 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(21) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(4) |
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
From: Falko M. <ma...@fa...> - 2009-07-15 08:58:20
|
Hi Martin, yes, it means that the code to be analyzed has to be altered. An example for a file called test.php would be: <?php function dummyFunctionForFile_test_php() { phpinfo(); } ?> Of course this is not very elegant, but currently the only feasible way due to some conceptual restrictions resulting from the utilization of the InstantSVC CodeAnalyzer. I already had an idea on how to make that dirty dummy function workaround unnecessary, but it's like always: So much to code, so little time. ;) btw: Are you analysing any free software? I'm always keen to put interesting examples on the phpCallGraph website. Cheers, Falko Ma...@Cl... wrote: > Fakko, > > You write: > > "Such code can be manually wrapped in a dummy function called > dummyFunctionForFile_filename_php() which will then > be recognized by PHPCallGraph." > > Can you give me an example of this? Do I have to alter the source code being > analyzed? > > Looks really interesting this, I'm looking to see if I can generate a UML > sequence diagram from the call graph. > > http://www.google.com/search?q=uml+sequence+diagram+call+graph > > Thanks, > Martin. > -- > Ma...@Cl... > http://twitter.com/mrjcleaver > +1 416-786-6752 (GMT-5) > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > > > ------------------------------------------------------------------------ > > _______________________________________________ > phpCallGraph-general mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/phpcallgraph-general |
From: Falko M. <ma...@fa...> - 2009-07-15 08:20:43
|
Hi Martin, first of all, thank you for this awesome contribution! It is a known issue of phpCallGraph that certain cases are not analyzed correctly by the currently applied heuristics. I'm currently investigating possibilities of symbolic execution to get these calls right. However, it will still take a while until this issue will be solved. If you need the source code of the function/method, you can extend the signature of CallgraphDriver::startFunction to include either the line numer of the end of the function or directly the source code. Both are available when this method is called in PHPCallGraph::parseMethodBody. Of course, you would have to change all implementations of the CallgraphDriver interface, but that shouldn't be to hard, since they could just ignore the additional data. I wasn't able to actually get output from your driver. Or more specifically the PNG and HTML output files where empty. I guess, this is due to some external software missing on my machine. Could you therefore add some hints on how to use your driver to the readme.txt? Greetings from Berlin Falko Ma...@Cl... wrote: > To be clearer, here's a real example: > > Most of the call arrows for the attached are correct, except for the > following two, where the class is unset, meaning my code draws the > arrows to :ClassUnknown: > > $ca->inspectFiles($files); > $this->codeSummary = $ca->getCodeSummary(); > > Thanks, > Martin. > > <?php > class PHPCallGraph { > public function parse(array $filesOrDirs, $recursive = false) { > $files = $this->collectFileNames($filesOrDirs, $recursive); > $ca = new iscCodeAnalyzer(null); > $ca->setDebug($this->debug); > $ca->setAutoloadFile($this->autoloadFile); > $ca->inspectFiles($files); > $this->codeSummary = $ca->getCodeSummary(); > $this->analyseCodeSummary(); > } > } > ?> > > > -- > Ma...@Cl... > http://twitter.com/mrjcleaver > +1 416-786-6752 (GMT-5) > > > > > On Mon, Jul 13, 2009 at 10:26 PM, Ma...@Cl...<Ma...@cl...> wrote: >> Sorry about that incomplete email - I was balancing my 8 month old on my lap! >> >> This is what it should have said: >> >>> It works quite well but doesn't seem to always be passed a class, leading the call arrows to go to UnknownClass rather than to the correct object. >> More examples can be seen in >> http://phpcallgraph.svn.sourceforge.net/viewvc/phpcallgraph/trunk/examples/output/ >> >>> Is the class=null on addCall() a known issue? >> Also, I want to be able to get the source code of the current method >> available to the driver. Can we make the codeAnalyzer available to the >> driver, or pass the sourcecode? >> >> Thanks, >> Martin. >> >> >> -- >> Ma...@Cl... >> http://twitter.com/mrjcleaver >> +1 416-786-6752 (GMT-5) >> >> >> >> On Mon, Jul 13, 2009 at 3:10 PM, Ma...@Cl... <Ma...@cl...> wrote: >>> Hi - so attached is an example output from my driver that outputs umlgraph sequence diagrams. >>> >>> It works quite well but doesn't seem to always be passed a class, leading the call arrows to go to UnknownClass rather than to the correct object. >>> Is this a known issue? >>> Thanks, M. >>> >>> >>> -- >>> Ma...@Cl... >>> http://twitter.com/mrjcleaver >>> +1 416-786-6752 (GMT-5) >>> >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------------ >> Enter the BlackBerry Developer Challenge >> This is your chance to win up to $100,000 in prizes! For a limited time, >> vendors submitting new applications to BlackBerry App World(TM) will have >> the opportunity to enter the BlackBerry Developer Challenge. See full prize >> details at: http://p.sf.net/sfu/Challenge >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> phpCallGraph-general mailing list >> php...@li... >> https://lists.sourceforge.net/lists/listinfo/phpcallgraph-general |
From: <Ma...@Cl...> - 2009-07-14 02:35:10
|
To be clearer, here's a real example: Most of the call arrows for the attached are correct, except for the following two, where the class is unset, meaning my code draws the arrows to :ClassUnknown: $ca->inspectFiles($files); $this->codeSummary = $ca->getCodeSummary(); Thanks, Martin. <?php class PHPCallGraph { public function parse(array $filesOrDirs, $recursive = false) { $files = $this->collectFileNames($filesOrDirs, $recursive); $ca = new iscCodeAnalyzer(null); $ca->setDebug($this->debug); $ca->setAutoloadFile($this->autoloadFile); $ca->inspectFiles($files); $this->codeSummary = $ca->getCodeSummary(); $this->analyseCodeSummary(); } } ?> -- Ma...@Cl... http://twitter.com/mrjcleaver +1 416-786-6752 (GMT-5) On Mon, Jul 13, 2009 at 10:26 PM, Ma...@Cl...<Ma...@cl...> wrote: > Sorry about that incomplete email - I was balancing my 8 month old on my lap! > > This is what it should have said: > >> It works quite well but doesn't seem to always be passed a class, leading the call arrows to go to UnknownClass rather than to the correct object. > > More examples can be seen in > http://phpcallgraph.svn.sourceforge.net/viewvc/phpcallgraph/trunk/examples/output/ > >>Is the class=null on addCall() a known issue? > > Also, I want to be able to get the source code of the current method > available to the driver. Can we make the codeAnalyzer available to the > driver, or pass the sourcecode? > > Thanks, > Martin. > > > -- > Ma...@Cl... > http://twitter.com/mrjcleaver > +1 416-786-6752 (GMT-5) > > > > On Mon, Jul 13, 2009 at 3:10 PM, Ma...@Cl... <Ma...@cl...> wrote: >> >> Hi - so attached is an example output from my driver that outputs umlgraph sequence diagrams. >> >> It works quite well but doesn't seem to always be passed a class, leading the call arrows to go to UnknownClass rather than to the correct object. > >> Is this a known issue? >> Thanks, M. >> >> >> -- >> Ma...@Cl... >> http://twitter.com/mrjcleaver >> +1 416-786-6752 (GMT-5) >> > |
From: <Ma...@Cl...> - 2009-07-14 02:26:12
|
Sorry about that incomplete email - I was balancing my 8 month old on my lap! This is what it should have said: > It works quite well but doesn't seem to always be passed a class, leading the call arrows to go to UnknownClass rather than to the correct object. More examples can be seen in http://phpcallgraph.svn.sourceforge.net/viewvc/phpcallgraph/trunk/examples/output/ >Is the class=null on addCall() a known issue? Also, I want to be able to get the source code of the current method available to the driver. Can we make the codeAnalyzer available to the driver, or pass the sourcecode? Thanks, Martin. -- Ma...@Cl... http://twitter.com/mrjcleaver +1 416-786-6752 (GMT-5) On Mon, Jul 13, 2009 at 3:10 PM, Ma...@Cl... <Ma...@cl...> wrote: > > Hi - so attached is an example output from my driver that outputs umlgraph sequence diagrams. > > It works quite well but doesn't seem to always be passed a class, leading the call arrows to go to UnknownClass rather than to the correct object. > Is this a known issue? > Thanks, M. > > > -- > Ma...@Cl... > http://twitter.com/mrjcleaver > +1 416-786-6752 (GMT-5) > |
From: Falko M. <ma...@fa...> - 2009-07-09 18:37:49
|
Hi Martin, I just tried a fresh checkout with your commandline and had no problems. You should only obtain the trunk: svn co https://phpcallgraph.svn.sourceforge.net/svnroot/phpcallgraph/trunk phpcallgraph Otherwise you get way too much stuff, i.e., all versions that have ever been released, the website with it's example collection and some experimental branches. Hope that helps. Greetings from Berlin, Falko Ma...@Cl... wrote: > Hi Falko, > > I'm trying to check out so I can upload my umlgraph driver. > > MartinCleaversMBP:phpcallgraph martincleaver$ svn co > https://phpcallgraph.svn.sourceforge.net/svnroot/phpcallgraph phpcallgraph > Error validating server certificate for ' > https://phpcallgraph.svn.sourceforge.net:443': > - The certificate is not issued by a trusted authority. Use the > fingerprint to validate the certificate manually! > Certificate information: > - Hostname: *.svn.sourceforge.net > - Valid: from Wed, 12 Nov 2008 01:25:27 GMT until Tue, 12 Jan 2010 01:25:27 > GMT > - Issuer: Equifax Secure Certificate Authority, Equifax, US > - Fingerprint: 04:b2:70:e9:ba:cf:70:fc:e8:8a:22:86:14:13:51:97:1b:6a:de:38 > (R)eject, accept (t)emporarily or accept (p)ermanently? t > A phpcallgraph/website > A phpcallgraph/website/htdocs > <..> > A phpcallgraph/website/htdocs/examples/phpcallgraph/phpcallgraph-src.png > *svn: In directory 'phpcallgraph/website/htdocs/examples/phpcallgraph'* > *svn: Can't move source to dest* > *svn: Can't move > 'phpcallgraph/website/htdocs/examples/phpcallgraph/.svn/tmp/prop-base/phpcallgraph.png.svn-base' > to > 'phpcallgraph/website/htdocs/examples/phpcallgraph/.svn/prop-base/phpcallgraph.png.svn-base': > No such file or directory* > > Do you also get this problem? > If so, is there a workaround? > > Please advise, > > Thanks, > Martin > > -- > Ma...@Cl... > http://twitter.com/mrjcleaver > +1 416-786-6752 (GMT-5) > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > > > ------------------------------------------------------------------------ > > _______________________________________________ > phpCallGraph-general mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/phpcallgraph-general |
From: <Ma...@Cl...> - 2009-07-09 17:44:15
|
Hi Falko, I'm trying to check out so I can upload my umlgraph driver. MartinCleaversMBP:phpcallgraph martincleaver$ svn co https://phpcallgraph.svn.sourceforge.net/svnroot/phpcallgraph phpcallgraph Error validating server certificate for ' https://phpcallgraph.svn.sourceforge.net:443': - The certificate is not issued by a trusted authority. Use the fingerprint to validate the certificate manually! Certificate information: - Hostname: *.svn.sourceforge.net - Valid: from Wed, 12 Nov 2008 01:25:27 GMT until Tue, 12 Jan 2010 01:25:27 GMT - Issuer: Equifax Secure Certificate Authority, Equifax, US - Fingerprint: 04:b2:70:e9:ba:cf:70:fc:e8:8a:22:86:14:13:51:97:1b:6a:de:38 (R)eject, accept (t)emporarily or accept (p)ermanently? t A phpcallgraph/website A phpcallgraph/website/htdocs <..> A phpcallgraph/website/htdocs/examples/phpcallgraph/phpcallgraph-src.png *svn: In directory 'phpcallgraph/website/htdocs/examples/phpcallgraph'* *svn: Can't move source to dest* *svn: Can't move 'phpcallgraph/website/htdocs/examples/phpcallgraph/.svn/tmp/prop-base/phpcallgraph.png.svn-base' to 'phpcallgraph/website/htdocs/examples/phpcallgraph/.svn/prop-base/phpcallgraph.png.svn-base': No such file or directory* Do you also get this problem? If so, is there a workaround? Please advise, Thanks, Martin -- Ma...@Cl... http://twitter.com/mrjcleaver +1 416-786-6752 (GMT-5) |
From: <Ma...@Cl...> - 2009-07-03 14:47:08
|
Fakko, You write: "Such code can be manually wrapped in a dummy function called dummyFunctionForFile_filename_php() which will then be recognized by PHPCallGraph." Can you give me an example of this? Do I have to alter the source code being analyzed? Looks really interesting this, I'm looking to see if I can generate a UML sequence diagram from the call graph. http://www.google.com/search?q=uml+sequence+diagram+call+graph Thanks, Martin. -- Ma...@Cl... http://twitter.com/mrjcleaver +1 416-786-6752 (GMT-5) |
From: Falko M. <ma...@fa...> - 2009-02-04 17:02:50
|
Hi Sameer, Sameer Borate wrote: > When I run the code on Windows XP and PHP 5.2.3 I get the following error: > > 'The referenced parameter '-o p.txt test.php' is not registered Sorry for the late response. It took me a while to get my hands on a Windows box in order reproduce and fix the issue. I just released a patched version of phpCallGraph 0.7.0 which can be downloaded at: http://downloads.sourceforge.net/phpcallgraph/phpcallgraph-0.7.0-pl1.zip Cheers, Falko |
From: Sameer B. <me...@gm...> - 2009-01-20 04:59:01
|
Hello Falko, When I run the code on Windows XP and PHP 5.2.3 I get the following error: 'The referenced parameter '-o p.txt test.php' is not registered Thanks SAMEER |
From: Falko M. <ma...@fa...> - 2008-11-15 14:43:10
|
Hi, Version 0.7.0 of phpCallGraph has been released. Most importantly, it fixes a severe bug, which prevented correct recursion into sub-directories. Furthermore, it features support for autoloading, a debug option for finding analysis problems, as well as new colors and fonts for better readability. The sandbox of the InstantSVC CodeAnalyzer has also been greatly improved by introducing white-list-based function call filtering. This allows for performing source code analyses using reflection without the danger of accidentally executing code in the global scope. All users are encouraged to upgrade to the new version, which can be downloaded at http://phpcallgraph.sourceforge.net Best regards, Falko |
From: Falko M. <ma...@fa...> - 2008-01-02 01:27:50
|
Hi everyone, I used some spare time at the 24C3 to compile a new release of PHPCallGraph. While PHPCallGraph was initially developed for object-oriented code, this release adds the ability to analyze user-defined functions. Also code in the global scope (outside any functions or methods) can now be analyzed with the help of a little workaround: Such code can be manually wrapped in a dummy function called dummyFunctionForFile_filename_php() which will then be recognized by PHPCallGraph. Of course this is not very elegant but currently the only feasible way due to some conceptual restrictions resulting from the utilization of the InstantSVC CodeAnalyzer. Download PHPCallGraph v0.6.4 at http://phpcallgraph.sourceforge.net Happy New Year! Falko |