By Kiran
on August 21, 2011 2:07 AM
Getting started with gdb , some notes on this
objdump (otool on osx) is a program to examine a binary.
To examine perl run the command
objdump -D /usr/bin/perl |grep -A40 main.:
Interesting to see the function call
objdump -D /usr/bin/perl |grep -A400 main.: |grep call
to get the output in intel syntax add the option -M
objdump -M intel ...
GDB
for the following c program
main() {
printf("hello world \n");
}
-g flag to give gcc access to source co…
By Kiran
on August 19, 2011 3:17 PM
Gabor has a post here where he points out that the level of interaction is lower than the other blogs, he mentions blogs.perl.org and chromatic's blog as an example.
On more than one occasion I have typed in my comment only to realize that you need to be logged in to comment ( Gabor's , blogs.perl.org and chromatic's blog all require login) . I understand spam is a issue but if you want me to login to comment I will most probably not do it .
I am not saying that o…