Loading...

DEBUGGING APPLICATIONS ON LINUX

Linux debugging drivers
12
Mar
  • Soujanya
  • 9 (Registered)
  • (0 Review)

Description:

This course, teaches embedded skills using an embedded environment. Unlike most Linux courses, that use PC’s as the target, this course uses both PC and ARM9 EMULATOR that’s a prevalent way to experiment most the concepts.

Duration:

1 day or 8 hours

Course objectives:

  • Investing Application
  • Profiling and Code coverage
  • Memory leak and corruption
  • Tracing applications
  • Debugging using GDB
  • The core gdb architecture
  • Host and target binary
  • Online and offline debugging
  • Switches and build essentials
  • The basic of symbol and section management in gdb
  • Basic GDB session walkthrough
  • Debugging live process
  • Debugging for multithreaded application threads
  • Offline debugging using core file and core patterns
  • Time traveling on GDB
  • Settings and features using GDB

Target audience:

Experienced C programmers and developers intending to explore How Linux can be used is real time and embedded environment

Pre-requisites:

  • Should have
  • Good knowledge of C programming
  • Good knowledge of basic UNIX/Linux commands

Lab requirements:

  • An internet ready laptop/workstation with high-end configuration (Intel Core i5 or above with at least 4 GB of RAM) is recommended, with windows or macOS with pdf readers,
  • Latest Virtual Box preferred to be pre-Installed on their respective OS. One can visit https://www.virtualbox.org/wiki/Downloads and choose their HOST(OS) specific package.
  • Participants must ensure that at least 40 GB of free disk-space is available on their laptops/workstations – as this is required for installing a pre-configured Linux setup as a Virtual Box appliance for hands-on practice session in this training program
  • The speaker/trainer would carry the preinstalled Linux disk image
  • Participants can also choose to work on an existing Linux environment accessible to them with support for root access and ability to fully customize their existing setup and reboot them.
  • Whiteboard, markers and scribble pads + pens for participants.
  • A high-resolution (1024×768 or above) LCD Projector with support to connect to trainer’s laptop (Apple MacBookPro/Win/Linux).
  • Whiteboard + Markers

Detailed Coverage:

  • Investigating and debugging user mode applications
  • Profiling and Code Coverage:
  • Using gprof for profiling C programs
  • Using gcov for code coverage analysis
  • Memory profilers
:
  • Memory checking and Heap profiling using Valgrind
  • using electic fence for profiling
  • Using dmalloc and libduma for memory debugging
  • traces and hooks for heap with signals
  • tracing for ltrace, mtrace, strace
  • Debugging techniques:
  • The gdb architecture
  • Cross debugging and interface
  • Host GDB binary and gdbserver
  • Gdb symbol fiile management
  • Maintaninece mode
  • Sections
  • Symbol file management
  • GDB must have commands:
  • Running program session with GDB
  • Examining the Stack
  • Examining the source files
  • Examining data
  • Debugging optimized code
  • Analyzing core:
  • Core file
  • Core pattern
  • Offline debugging
  • Investigating halts:
  • Breakpoints
  • Conditional breakpoints
  • Watch points
  • Catch points
  • Tracepoints
  • Stopping and continuing
  • Debugging running processes
  • Debugging multithreaded application:
  • Info
  • Breakpoints
  • Default and inferior
  • Remote debugging:
  • Build applications on ARM Target with symbol
  • The gdb architecture
  • Cross debugging and interface
  • Host GDB binary and gdbserver
  • Attaching remote process on host
  • Connection setting and remote connection
  • Attaching the target pid for a debug session
  • Time traveling and recording
  • Miscellaneous techniques

Enroll Now

Course Content

Total learning: / 1 quiz Time: 3 days

Instructor

0.0

0 rating

5 stars
0%
4 stars
0%
3 stars
0%
2 stars
0%
1 star
0%
Free

Money-Back Guarantee, Condition Applied...

Includes

  • Real time virtual classess
  • Pre course reading material
  • Suppliment resources
  • Language: English
  • Certificate of completion

Enroll Now

Your Dream Course Is Only A Step Away




<


Your Dream Course Is Only A Step Away




<


Your Dream Course Is Only A Step Away




<