you are here : home/C & C++ Internals

Home   |   About Us   |   Contact Us   |   Links|   Customers   

C/C++ Internals

Overview
This 3 day class is designed to build on existing knowledge of the C/C++ product in the TPF environment.  It will provide programmers and support staff with the knowledge to debug programs and identify system errors.  The class includes frequent exercises to reinforce knowledge gained during the lecture sessions.

Audience
TPF staff who require knowledge of the internals and architecture of the C/C++ product in TPF.  Students should have an reasonable understanding of TPF.  A working knowledge of C Coding concepts is desirable.

Student Numbers
The maximum recommended student to instructor ratio is 12:1

Objectives
By the end of the course, the delegates will be able, with the aid of course notes to:

  • List the C/C++ register conventions.

  • Identify Stack, Heap and Static storage.

  • Describe compiler options and their impact on generated object code.

  • Understand various linkage mechanisms used in C/C++ programs.

  • Solve dumps in DLMs and DLLs

Course Outline
Introduction Review existing knowledge
Example programs
Register conventions
Storage classes
Compiler Options
Generated code examples
Code Optimization
Inlining of functions.
Stacks Stack storage overview
Layout and header file
Allocation and deallocation
Usage
Static Storage - overview
Linkages ISOC DLM & DLL Linkages
Assembler Stub linkage
Exporting functions & Classes
C++ DLM Linkage
C++ DLL Linkage
Function & Variable Descriptors
Static Stack - In depth
Heap Storage Allocation
Memory layout
In-use, free & system nodes
Control 75 Dump Example
Functions Passing parameters - C and C++
Linkage
Dump Analysis Identifying variables & parameters
Identifying Failing Instruction
Module map layout
Control 3 Example
Solving dumps in DLM
Solving dumps in DLL

back to top

pcs-training.co.uk by Cold Blaze Design © 2000. All rights reserved.