Most of the software bugs center around memory leaks which invariably results in segmentation violation followed by a core dump. Linux and C debugging course gives an in-depth coverage on various programming errors, a detailed address level breakup of memory map of a process, ways to debug the program as well as core dump analysis. The participant will learn to detect and debug different type of issues in the code with or without gdb debugger. Participant will also get a sound understanding of C development environment along with reading assembly and binary files and stack frames creation.
Course will be delivered by our Founder/Director who is an Expert with 16+ years of experience in Linux Kernel and SAN software development.
The course flow will be an assignment driven model so that participants can have a hands-on experience of various debugging techniques.
Participants will be writing, reviewing and debugging lots of C programs dealing with segmentation violation, stack overflow, heap overflow, arithmetic overflow, illegal code execution, stack issue, endian-ness issue, c library assertion, data type mismatches, etc.
Lectures, Classroom Discussions and Lab Exercises
30% Theory, 70% Lab
Location: Sanfoundry Institute, Bangalore, India
Sample Lab Assignment – Linux & C Debugging
Run the C code mentioned below in your computer (preferably Linux ubuntu / redhat / fedora / centos / debian / suse, etc…). Your computer will seem to hang after 5 to 10 minutes of running this code or maybe the program will crash. So, debug the following C-code under Linux platform & identify 10 Issues with this code.
* Sanfoundry.com Memory Leak Program
* Author: Manish Kumar Bhojasia, Location: Bangalore, India
#define KB1 1024
#define MEMSIZE (4 * KB1)
char*string ="IDENTIFY 10 ISSUES IN THIS MEMLEAK PROGRAM";
char*gstring ="IDENTIFY 10 ISSUES IN THIS MEMLEAK PROGRAM";
Target Audience IT Professionals who are doing development, maintenance and testing of software products
Fee, Schedule & Registration Click Herefor Linux & C Debugging course training schedule, fee and registration information
C program to Process
Linker / Loader
Fixing Warnings in the Code
Static Vs Dynamic Library
Static Library Generation
Dynamic Library Generation
Linking with Libraries
Anatomy of a Process
Mapping Assembly to C
Pmap / Pstack
Debugging Running Process
Core dump analysis
Symbols & Optimizations
Default Optimization Levels
Illegal code execution
C library assertion
Data Type mismatch
Subscribe Newsletter & Posts
Sanfoundry Training Center of Excellence (CoE)
Manish Bhojasia, a technology veteran with 17+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He is Linux Kernel Developer and SAN Architect and is passionate about competency developments in these areas. He lives in Bangalore and delivers focused training sessions to IT professionals in Linux Kernel, Linux Debugging, Linux Device Drivers, Linux Networking, Linux Storage & Cluster Administration, Advanced C Programming, SAN Storage Technologies, SCSI Internals and Storage Protocols such as iSCSI & Fiber Channel. Stay connected with him below.
It was a wonderful course, a thorough study through the bits and pieces of Storage Devices and the other advancements in the SAN technology which was very informative for me. Well prepared slides, practical thoughts and fully interactive class.
The Linux System Programming training presented by Manish was very good. His presentation was very precise, clear and in-depth covering the real-time design problems and solutions.
The depth of C coverage, the common pitfalls, the presentation by Manish and his pace were all remarkable. Gave a clear picture of the inner working of C language design.
The course was well designed and coverage was satisfactorily deep. The linux programming assignments were designed to get a feel of real time issues and covered lot of areas of uncertainty. The project work suggested at the end of the course was invaluable.
Thank you for providing such an awesome experience on Linux Device Driver Programming. The real beauty in this training that I could witness was its practical exposures to design, issues and explanations on the same in a neat way.
I checked a lot of other training centers before deciding to go with Sanfoundry and am glad I did. The training was very interactive and covered the most important industry aspects of SAN technology needed currently. I admire Manish's immense knowledge on the subject and his friendly attitude.
Advanced C Course content quality was awesome. Lab exercise by Manish are really good as well as tough to cover C programming concepts indepth. The quality of teaching is superb.
Sanfoundry is No. 1 choice for Deep Hands-ON Trainings in SAN, Linux & C, Kernel & Device Driver Programming. Our Founder has trained employees of almost all Top Companies in India. Here are few of them: VMware, Citrix, Oracle, Motorola, Ericsson, Aricent, HP, Intuit, Microsoft, Cisco, SAP Labs, Siemens, Symantec, Redhat, Chelsio, Cavium Networks, ST Microelectronics, Samsung, LG-Soft, Wipro, TCS, HCL, IBM, Accenture, HSBC, Northwest Bank, Mphasis, Tata Elxsi, Tata Communications, Mindtree, Cognizant, mid size IT companies and many Startups. Students from top Universities and colleges such as NIT Trichy, BITS Pilani, University of California, Irvine, University of Texas, Austin & PESIT Bangalore have benefited a lot from these courses as well. The assignments and real time projects for our courses are of extremely high quality with excellent learning curve.
Register for Expert Level Training Classes by our Founder & CTO. Alternatively, call us for your Corporate Training or College Training needs.