Hi All, I am all new Linux and I was trying to read Snort (http://www.snort.org/) . The best way to read it is through GDB debugger. The problem that i am facing is : 1> It has so many files i don't know where is the start function,how to find out that? 2> how to put the complete software in gdb,Please guide. Thanks Anil
On Wed, Nov 6, 2013 at 1:31 AM, Anil Joshi <aj27744@gmail.com> wrote:
Hi All,
I am all new Linux and I was trying to read Snort (http://www.snort.org/) . The best way to read it is through GDB debugger. The problem that i am facing is : 1> It has so many files i don't know where is the start function,how to find out that? 2> how to put the complete software in gdb,Please guide.
This is a kernel related list, so please find more appropriate forum to discuss that matter. Hint: compile snort with gcc -g or similar, then run it inside gdb. Few "next" and "step" should brought you to "main()" or similar function. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com
participants (2)
-
Anil Joshi -
Mulyadi Santosa