RE: [PHP] Is there any way to get all the function name being called in a process?

2009-10-23 Thread Andrea Giammarchi


> even APD is not up to the task
> 
> xdebug trace http://devzone.zend.com/article/2871 is sufficient, but
> the output will be in a separate file.



> Thank a lot.
> 
> APD is just doing what I was looking for.
> 
> -- 
> Satya
> Bangalore.

Regards
  
_
Windows Live: Keep your friends up to date with what you do online.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_1:092010

Re: [PHP] Is there any way to get all the function name being called in a process?

2009-10-23 Thread Eddie Drapkin
There's xdebug, as mentioned, that'll do it as an extension.

What you REALLY probably are looking for is http://php.net/debug_backtrace

And what kind of reverse engineering would you be doing without
reflection? ( http://php.net/reflection ) ;]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Is there any way to get all the function name being called in a process?

2009-10-23 Thread kranthi
even APD is not up to the task

xdebug trace http://devzone.zend.com/article/2871 is sufficient, but
the output will be in a separate file.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Is there any way to get all the function name being called in a process?

2009-10-23 Thread Satya Narayan Singh
Thank a lot.

APD is just doing what I was looking for.




On Fri, Oct 23, 2009 at 5:13 PM, Andrea Giammarchi wrote:

>
> > That won't do what the OP asked, it will just return a list of all the
> > functions defined, which could be a lot more than is actually being used
> > in a process, such as in the case of included libraries of functions.
>
> uhm, right, I guess APD then:
> http://uk3.php.net/manual/en/book.apd.php
>
> Regards
>
> --
> Windows Live: Keep your friends up to date with what you do 
> online.
>



-- 
Satya
Bangalore.


RE: [PHP] Is there any way to get all the function name being called in a process?

2009-10-23 Thread Andrea Giammarchi


> That won't do what the OP asked, it will just return a list of all the
> functions defined, which could be a lot more than is actually being used
> in a process, such as in the case of included libraries of functions.

uhm, right, I guess APD then:
http://uk3.php.net/manual/en/book.apd.php

Regards
  
_
Windows Live: Keep your friends up to date with what you do online.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_1:092010

RE: [PHP] Is there any way to get all the function name being called in a process?

2009-10-23 Thread Ashley Sheridan
On Fri, 2009-10-23 at 10:27 +0200, Andrea Giammarchi wrote:

> http://uk3.php.net/manual/en/function.get-defined-functions.php
> get_defined_functions
> 
> Regards
> 
> > Date: Fri, 23 Oct 2009 11:54:34 +0530
> > From: astra.sat...@gmail.com
> > To: php-general@lists.php.net
> > Subject: [PHP] Is there any way to get all the function name being called 
> > in a  process?
> > 
> > Hi,
> > 
> > I am working on reverse engineering for a web project. I was trying to know
> > that, is there any way(function by PHP, Zend, extension etc)
> > to find out how many function has been called to perform a task.
> > 
> > If no, can you suggest is it possible/feasible or not?
> > 
> > 
> > Thanks in advance
> > -- 
> > Satya
> > Bangalore.
> 
> _
> Keep your friends updated—even when you’re not signed in.
> http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_5:092010


That won't do what the OP asked, it will just return a list of all the
functions defined, which could be a lot more than is actually being used
in a process, such as in the case of included libraries of functions.

Would some form of PHP debugger help here? I've not used any debuggers
before, but I would imagine that this is something which could be
achieved quite easily with one.

Thanks,
Ash
http://www.ashleysheridan.co.uk




RE: [PHP] Is there any way to get all the function name being called in a process?

2009-10-23 Thread Andrea Giammarchi

http://uk3.php.net/manual/en/function.get-defined-functions.php
get_defined_functions

Regards

> Date: Fri, 23 Oct 2009 11:54:34 +0530
> From: astra.sat...@gmail.com
> To: php-general@lists.php.net
> Subject: [PHP] Is there any way to get all the function name being called in 
> aprocess?
> 
> Hi,
> 
> I am working on reverse engineering for a web project. I was trying to know
> that, is there any way(function by PHP, Zend, extension etc)
> to find out how many function has been called to perform a task.
> 
> If no, can you suggest is it possible/feasible or not?
> 
> 
> Thanks in advance
> -- 
> Satya
> Bangalore.
  
_
Keep your friends updated—even when you’re not signed in.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_5:092010

[PHP] Is there any way to get all the function name being called in a process?

2009-10-22 Thread Satya Narayan Singh
Hi,

I am working on reverse engineering for a web project. I was trying to know
that, is there any way(function by PHP, Zend, extension etc)
to find out how many function has been called to perform a task.

If no, can you suggest is it possible/feasible or not?


Thanks in advance
-- 
Satya
Bangalore.