Security Basics mailing list archives

Returning into php, debug with gdb


From: "bastian.wild () gmx de" <bastian.wild () gmx de>
Date: Mon, 28 Feb 2011 14:49:47 +0100

Hello Guys,
im having trouble with a command line based php script which does give fatal error to me. as i am concerned to have knowledge i was asking what is going on in memory when failing.
so i started gdb like $ gdb /usr/local/bin/php, gdb > run script.php ARGS
i gave to me erro code 0377, but no stack or such i could have a look at, though i was looking at disas dump by gdb > disas function_name

so my question is: how can i look at the memory like 200bytes around the esp, eip etc?

thanks all




------------------------------------------------------------------------
Securing Apache Web Server with thawte Digital Certificate
In this guide we examine the importance of Apache-SSL and who needs an SSL certificate.  We look at how SSL works, how 
it benefits your company and how your customers can tell if a site is secure. You will find out how to test, purchase, 
install and use a thawte Digital Certificate on your Apache web server. Throughout, best practices for set-up are 
highlighted to help you ensure efficient ongoing management of your encryption keys and digital certificates.

http://www.dinclinx.com/Redirect.aspx?36;4175;25;1371;0;5;946;e13b6be442f727d1
------------------------------------------------------------------------


Current thread: